pandera.api.pandas.container.DataFrameSchema.to_script#

DataFrameSchema.to_script(fp=None)[source]#

Create DataFrameSchema from yaml file.

Parameters

path – str, Path to write script

Return type

ForwardRef

Returns

dataframe schema.