pandera.schema_components.Index.strategy

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

Create a hypothesis strategy for generating an Index.

Parameters

size (Optional[int]) – number of elements to generate.

Returns

index strategy.