DataFrame ModelsΒΆ

DataFrame ModelΒΆ

Model ComponentsΒΆ

pandera.api.dataframe.model_components.Field(*)

Column or index field specification of a DataFrameModel.

pandera.api.dataframe.model_components.check(*fields)

Defines DataFrameModel check methods for columns/indexes.

pandera.api.dataframe.model_components.dataframe_check([_fn])

Defines DataFrameModel check methods for dataframes.

pandera.api.dataframe.model_components.parser(...)

Defines DataFrameModel parse methods for columns/indexes.

pandera.api.dataframe.model_components.dataframe_parser([_fn])

Defines DataFrameModel parse methods for dataframes.

ConfigΒΆ

pandera.api.pandas.model_config.BaseConfig

Define pandas DataFrameSchema-wide options.

pandera.api.polars.model_config.BaseConfig

Define polars DataFrameSchema-wide options.

pandera.api.pyspark.model_config.BaseConfig

Define DataFrameSchema-wide options.

TypingΒΆ

PandasΒΆ

pandera.typing.DataFrame([data, index, ...])

A generic type for pandas.DataFrame.

pandera.typing.Series([data, index, dtype, ...])

Representation of pandas.Series, only used for type annotation.

pandera.typing.Index([data, dtype, copy, ...])

Representation of pandas.Index, only used for type annotation.

GeopandasΒΆ

pandera.typing.geopandas.GeoDataFrame([...])

A generic type for geopandas.GeoDataFrame.

pandera.typing.geopandas.GeoSeries([data, ...])

Representation of geopandas.GeoSeries, only used for type annotation.

DaskΒΆ

pandera.typing.dask.DataFrame(expr)

Representation of dask.dataframe.DataFrame, only used for type annotation.

pandera.typing.dask.Series(expr)

Representation of pandas.Series, only used for type annotation.

pandera.typing.dask.Index(expr)

Representation of pandas.Index, only used for type annotation.

PysparkΒΆ

pandera.typing.pyspark.DataFrame([data, ...])

Representation of dask.dataframe.DataFrame, only used for type annotation.

pandera.typing.pyspark.Series([data, index, ...])

Representation of pandas.Series, only used for type annotation.

pandera.typing.pyspark.Index([data, dtype, ...])

Representation of pandas.Index, only used for type annotation.

ModinΒΆ

pandera.typing.modin.DataFrame([data, ...])

Representation of dask.dataframe.DataFrame, only used for type annotation.

pandera.typing.modin.Series([data, index, ...])

Representation of pandas.Series, only used for type annotation.

pandera.typing.modin.Index([data, dtype, ...])

Representation of pandas.Index, only used for type annotation.

FastAPIΒΆ

pandera.typing.fastapi.UploadFile(data, ...)

Pandera-specific subclass of fastapi.UploadFile.

Serialization FormatsΒΆ

pandera.typing.formats.Formats(value)

Data container serialization formats.