pandera.schema_components.MultiIndex.example

MultiIndex.example(size=None)[source]

Generate an example of a particular size.

Parameters

size – number of elements in the generated DataFrame.

Return type

MultiIndex

Returns

pandas DataFrame object.