pandera.dtypes.DataType

class pandera.dtypes.DataType[source]

Base class of all Pandera data types.

Attributes

continuous

Whether the number data type is continuous.

Methods

__init__

check

Check that pandera DataType are equivalent.

coerce

Coerce data container to the data type.

try_coerce

Coerce data container to the data type, raises a ~pandera.errors.ParserError if the coercion fails

__call__

Coerce data container to the data type.