pandera.DataFrameSchema.from_yaml

classmethod DataFrameSchema.from_yaml(yaml_schema)[source]

Create DataFrameSchema from yaml file.

Parameters

yaml_schema – str, Path to yaml schema, or serialized yaml string.

Return type

DataFrameSchema

Returns

dataframe schema.