polars.Series.cummin¶
- Series.cummin(reverse: bool = False) polars.internals.series.Series ¶
Get an array with the cumulative min computed at every element.
- Parameters
- reverse
reverse the operation.
Examples
>>> s = pl.Series("a", [1, 2, 3]) >>> s.cummin() shape: (3,) Series: 'a' [i64] [ 1 1 1 ]