pandera.engines.pandas_engine.IntervalΒΆ
- class pandera.engines.pandas_engine.Interval(subtype)[source]ΒΆ
Representation of pandas
pd.IntervalDtype.Attributes
auto_coerceWhether to force coerce to be True in all cases
continuousWhether the number data type is continuous.
typeNative pandas dtype boxed by the data type.
subtypeMethods
- check(pandera_dtype, data_container=None)[source]ΒΆ
Check that pandera
DataTypeare equivalent.- Parameters:
- Return type:
- Returns:
boolean scalar or iterable of boolean scalars, indicating which elements passed the check.
- coerce(data_container)[source]ΒΆ
Pure coerce without catching exceptions.
- Return type:
Union[Series,DataFrame]
- classmethod from_parametrized_dtype(pd_dtype)[source]ΒΆ
Convert a
pandas.IntervalDtypeto a Panderapandera.engines.pandas_engine.Interval.