pandera.engines.numpy_engine.ObjectΒΆ
- class pandera.engines.numpy_engine.Object[source]ΒΆ
Semantic representation of a
numpy.object_.Attributes
auto_coerceWhether to force coerce to be True in all cases
continuousWhether the number data type is continuous.
typeNative numpy dtype boxed by the data type.
Methods
- 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,ndarray]