datatable.Type.is_numeric

Added in version 1.1.0

Test whether this type belongs to the category of “numeric” types. All boolean, integer, float and void types are considered numeric. Therefore, this method returns True for types

Parameters

return
bool

Examples

dt.Type.int8.is_numeric
True
dt.Type.float64.is_numeric
True
dt.Type.void.is_numeric
False
dt.Type.bool8.is_numeric
True
dt.Type.str32.is_numeric
False