types#
- class pylibcudf.types.DataType#
Indicator for the logical data type of an element in a column.
This is the Cython representation of
cudf::data_type
.- Parameters:
- idtype_id
The type’s identifier
- scaleint
The scale associated with the data. Only used for decimal data types.
Methods
id
(self)Get the id associated with this data type.
scale
(self)Get the scale associated with this data type.
- id(self) type_id #
Get the id associated with this data type.
- scale(self) int32_t #
Get the scale associated with this data type.