pandera.engines.pandas_engine.BOOL

class pandera.engines.pandas_engine.BOOL[source]

Semantic representation of a pandas.BooleanDtype.

Attributes

continuous

Whether the number data type is continuous.

exact

Whether the data type is an exact representation of a number.

type

Native pandas dtype boxed by the data type.

Methods

__init__

check

Check that pandera DataType are equivalent.

coerce

Pure coerce without catching exceptions.

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.