pandera.api.polars.components.Column.strategy

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

Create a hypothesis strategy for generating a Column.

Parameters:

size – number of elements to generate

Returns:

a dataframe strategy for a single column.

Warning

This method is not implemented in the polars backend.