pandera.model.SchemaModel.strategy

classmethod SchemaModel.strategy(*, size=None)[source]

Create a hypothesis strategy for generating a DataFrame.

Parameters

size – number of elements to generate

Returns

a strategy that generates pandas DataFrame objects.