pandera.engines.pandas_engine.ArrowDictionary¶
- class pandera.engines.pandas_engine.ArrowDictionary(categories=None, ordered=False, index_type=DataType(int64), value_type=DataType(int64))[source]¶
Semantic representation of a
pyarrow.dictionary
.Attributes
auto_coerce
Whether to force coerce to be True in all cases
categories
continuous
Whether the number data type is continuous.
index_type
ordered
type
Native pandas dtype boxed by the data type.
value_type
Methods
- __init__(categories=None, ordered=False, index_type=DataType(int64), value_type=DataType(int64))[source]¶
- check(pandera_dtype, data_container=None)[source]¶
Check that pandera
DataType
are equivalent.- Parameters:
- Return type:
- Returns:
boolean scalar or iterable of boolean scalars, indicating which elements passed the check.