pandera.model.BaseConfig#
- class pandera.model.BaseConfig[source]#
Bases:
object
Define DataFrameSchema-wide options.
new in 0.5.0
Attributes
coerce
coerce types of all schema components
description
arbitrary textual description
dtype
datatype of the dataframe.
from_format
data format before validation.
from_format_kwargs
a dictionary keyword arguments to pass into the reader function that converts the object of type
from_format
to a pandera-validate-able data structure.multiindex_coerce
coerce types of all MultiIndex components
multiindex_name
name of multiindex
multiindex_ordered
validate MultiIndex in order
multiindex_strict
make sure all specified columns are in validated MultiIndex - if
"filter"
, removes indexes not specified in the schemaname
name of schema
ordered
validate columns order
strict
make sure all specified columns are in the validated dataframe - if
"filter"
, removes columns not specified in the schematitle
human-readable label for schema
to_format
data format to serialize into after validation.
to_format_kwargs
a dictionary keyword arguments to pass into the writer function that converts the pandera-validate-able object to type
to_format
.unique
make sure certain column combinations are unique
unique_column_names
make sure dataframe column names are unique