polars.Series.cummax#

Series.cummax(*, reverse: bool = False) Series[source]#

Get an array with the cumulative max computed at every element.

Deprecated since version 0.19.14: This method has been renamed to cum_max().

Parameters:
reverse

reverse the operation.