pandera.api.pandas.components.Index.strategy¶ Index.strategy(*, size=None)[source]¶ Create a hypothesis strategy for generating an Index. Parameters: size (Optional[int, None]) – number of elements to generate. Returns: index strategy.