pandera.engines.pandas_engine.PythonTupleΒΆ
- class pandera.engines.pandas_engine.PythonTuple(generic_type=None)[source]ΒΆ
A datatype to support python generics.
Attributes
auto_coerceWhether to force coerce to be True in all cases
coercion_modelcontinuousWhether the number data type is continuous.
generic_typespecial_typeMethods
- check(pandera_dtype, data_container=None)[source]ΒΆ
Check that data container has the expected type.
- coerce(data_container)[source]ΒΆ
Coerce data container to the specified data type.
- Return type:
Union[Series,DataFrame]