pandera.schemas.DataFrameSchema.example

DataFrameSchema.example(size=None)[source]

Generate an example of a particular size.

Parameters

size – number of elements in the generated DataFrame.

Return type

DataFrame

Returns

pandas DataFrame object.