pandera.typing.formats.Formats

class pandera.typing.formats.Formats(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Data container serialization formats.

The values of this enum specify the valid values taken by the to_format and from_format attributes in BaseConfig when specifying a DataFrameModel.

Attributes

csv

comma-separated values file

dict

python dictionary

json

json file

feather

feather file format.

parquet

parquet file format.

pickle

python pickle file format