bigframes.geopandas.GeoSeries.cummax#
- GeoSeries.cummax() Series#
Return cumulative maximum over a DataFrame or Series axis.
Returns a DataFrame or Series of the same size containing the cumulative maximum.
Examples:
>>> s = bpd.Series([2, np.nan, 5, -1, 0]) >>> s 0 2.0 1 <NA> 2 5.0 3 -1.0 4 0.0 dtype: Float64
By default, NA values are ignored.
>>> s.cummax() 0 2.0 1 <NA> 2 5.0 3 5.0 4 5.0 dtype: Float64
- Returns:
Return cumulative maximum of scalar or Series.
- Return type: