datatable.Type

Added in version 1.0.0

Type of data stored in a single column of a Frame.

The type describes both the logical meaning of the data (i.e. an integer, a floating point number, a string, etc.), as well as storage requirement of that data (the number of bits per element). Some types may carry additional properties, such as a timezone or precision.

Note

This property replaces previous dt.stype and dt.ltype.

Values

The following types are currently available:

Properties

.is_array

Is this an array type?

.is_boolean

Is this a boolean type?

.is_compound

Is this a compound type?

.is_categorical

Is this a categorical type?

.is_float

Is this a float type?

.is_integer

Is this an integer type?

.is_numeric

Is this a numeric type?

.is_object

Is this an object type?

.is_string

Is this a string type?

.is_temporal

Is this a temporal type?

.is_void

Is this the void type?

.max

The maximum value for this type

.min

The minimum value for this type

.name

The name of this type