pub fn cum_max(s: &Series, reverse: bool) -> Result<Series, PolarsError>
polars-ops
Get an array with the cumulative max computed at every element.