polars.Categorical#
- class polars.Categorical(*args: Any, **kwargs: Any)[source]#
A categorical encoding of a set of strings.
- __init__(*args, **kwargs)#
Methods
__init__
(*args, **kwargs)base_type
()Return this DataType's fundamental/root type class.
is_
(other)Check if this DataType is the same as another DataType.
is_not
(other)Check if this DataType is NOT the same as another DataType.
Attributes
is_nested