pandera.api.pandas.container.DataFrameSchema.to_script

DataFrameSchema.to_script(fp=None)[source]

Write DataFrameSchema to python script.

Parameters:

path – str, Path to write script

Return type:

DataFrameSchema

Returns:

dataframe schema.