pandera.model.SchemaModel

class pandera.model.SchemaModel(*args, **kwargs)[source]

Definition of a DataFrameSchema.

new in 0.5.0

See the User Guide for more.

Methods

example

Create a hypothesis strategy for generating a DataFrame.

strategy

Create a hypothesis strategy for generating a DataFrame.

to_schema

Create DataFrameSchema from the SchemaModel.

to_yaml

Convert Schema to yaml using io.to_yaml.

validate

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