bigframes.geopandas.GeoSeries.cumprod#
- GeoSeries.cumprod()→Series#
Return cumulative product over a DataFrame or Series axis.
Returns a DataFrame or Series of the same size containing the cumulativeproduct.
Examples:
>>>importbigframes.pandasasbpd>>>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.cumprod()0 2.01 <NA>2 10.03 -10.04 0.0dtype: Float64
- Returns:
Return cumulative sum of scalar or Series.
- Return type:
On this page