pandera.engines.pandas_engine.STRING

class pandera.engines.pandas_engine.STRING(storage='python')[source]

Semantic representation of a pandas.StringDtype.

Attributes

continuous

Whether the number data type is continuous.

storage

type

Native pandas dtype boxed by the data type.

Methods

__init__

check

Check that pandera DataType are equivalent.

coerce

Pure coerce without catching exceptions.

from_parametrized_dtype

Convert a pandas.StringDtype to a Pandera pandera.engines.pandas_engine.STRING.

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.