Bases: StrEnum
The data type of a column.
A data type represents how the data of a column is physically stored. Data
types can be passed to methods in the SDK as strings (e.g. "int"
).
-
bool
A boolean column.
-
int
An integer column.
-
float
An floating-point column.
-
date
A column holding a date.
-
time
A column holding a timestamp.
-
floatlist
A column holding a list of floating-point values.
-
intlist
A column holding a list of integers.
-
binary
A column containing binary data.
-
stringlist
A column containing list of strings.
-
is_bool()[source]
Whether the Dtype
holds booleans.
- Return type:
bool
-
is_int()[source]
Whether the Dtype
holds integers.
- Return type:
bool
-
is_float()[source]
Whether the Dtype
holds floating point numbers.
- Return type:
bool
-
is_numerical()[source]
Whether the Dtype
holds numbers.
- Return type:
bool
-
is_string()[source]
Whether the Dtype
holds strings.
- Return type:
bool
-
is_timestamp()[source]
Whether the Dtype
holds timestamps.
- Return type:
bool
-
is_maybe_timestamp()[source]
Whether the Dtype
holds castable timestamps.
- Return type:
bool
-
is_list()[source]
Whether the Dtype
holds nested lists.
- Return type:
bool
-
is_unsupported()[source]
Whether the Dtype
holds unsupported types.
- Return type:
bool
-
property default_stype: Stype
Returns the default semantic type of this data type.