pandera.engines.polars_engine.Category¶
- class pandera.engines.polars_engine.Category(categories=None)[source]¶
Pandera categorical data type for polars.
Attributes
auto_coerce
Whether to force coerce to be True in all cases
categories
continuous
Whether the number data type is continuous.
ordered
Methods
Check that pandera
DataType
are equivalent.Coerce data container to the data type.
Coerce an value to a particular type.
Coerce data container to the data type,
Coerce data container to the data type.