bigframes.geopandas.GeoSeries.pct_change#

GeoSeries.pct_change(periods: int = 1) Series#

Fractional change between the current and a prior element.

Computes the fractional change from the immediately previous row by default. This is useful in comparing the fraction of change in a time series of elements.

Note

Despite the name of this method, it calculates fractional change (also known as per unit change or relative change) and not percentage change. If you need the percentage change, multiply these values by 100.

Parameters:

periods (int, default 1) – Periods to shift for forming percent change.

Returns:

The same type as the calling object.

Return type:

bigframes.pandas.DataFrame or bigframes.pandas.Series