pandera.dtypes.DataType¶
- class pandera.dtypes.DataType[source]¶
Base class of all Pandera data types.
Attributes
auto_coerce
Whether to force coerce to be True in all cases
continuous
Whether the number data type is continuous.
type
Methods
- 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.