pandera.core.pandas.model_config.BaseConfig#
- class pandera.core.pandas.model_config.BaseConfig[source]#
Bases:
pandera.core.base.model_config.BaseModelConfigDefine DataFrameSchema-wide options.
new in 0.5.0
Attributes
coercecoerce types of all schema components
descriptionarbitrary textual description
dtypedatatype of the dataframe.
from_formatdata format before validation.
from_format_kwargsa dictionary keyword arguments to pass into the reader function that converts the object of type
from_formatto a pandera-validate-able data structure.multiindex_coercecoerce types of all MultiIndex components
multiindex_namename of multiindex
multiindex_orderedvalidate MultiIndex in order
multiindex_strictmake sure all specified columns are in validated MultiIndex - if
"filter", removes indexes not specified in the schemamultiindex_uniquemake sure the MultiIndex is unique along the list of columns
namename of schema
orderedvalidate columns order
strictmake sure all specified columns are in the validated dataframe - if
"filter", removes columns not specified in the schematitlehuman-readable label for schema
to_formatdata format to serialize into after validation.
to_format_kwargsa dictionary keyword arguments to pass into the writer function that converts the pandera-validate-able object to type
to_format.uniquemake sure certain column combinations are unique
unique_column_namesmake sure dataframe column names are unique