pandera.api.pandas.model.SchemaModel#

pandera.api.pandas.model.SchemaModel[source]#

Alias for DataFrameModel.

Warning

This subclass is necessary for backwards compatibility, and will be deprecated in pandera version 0.20.0 in favor of DataFrameModel

Methods

example

Create a hypothesis strategy for generating a DataFrame.

get_metadata

Provide metadata for columns and schema level

pydantic_validate

Verify that the input is a compatible dataframe model.

strategy

Create a hypothesis strategy for generating a DataFrame.

to_schema

Create DataFrameSchema from the DataFrameModel.

to_yaml

Convert Schema to yaml using io.to_yaml.

validate

Check if all columns in a dataframe have a column in the Schema.