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 cumulativemaximum.

Examples:

>>>s=bpd.Series([2,np.nan,5,-1,0])>>>s0     2.01    <NA>2     5.03    -1.04     0.0dtype: Float64

By default, NA values are ignored.

>>>s.cummax()0     2.01    <NA>2     5.03     5.04     5.0dtype: Float64
Returns:

Return cumulative maximum of scalar or Series.

Return type:

bigframes.pandas.Series

On this page

This Page