Parsers and Derived Columns

Preprocess data and declare columns that are derived from other columns. See the parsers guide for how to use these objects, and the decision parsing guide for deriving columns by asking a decision model.

Parser

pandera.api.parsers.Parser

Parse a data object for certain properties.

pandera.api.parsers.ColumnParser

An object that knows how to produce a column.

pandera.api.parsers.ParseContext

Everything a ColumnParser knows about the column it fills.

Declared derivation on the column

pandera.api.pandas.components.ParsedColumn

A column that declares how it is derived from other columns.

pandera.api.dataframe.model_components.ParsedField

Declare a column derived from other columns of the same dataframe.

pandera.api.dataframe.model_components.ParsedFieldInfo

A FieldInfo that also declares how its column is derived.