pandas.core.groupby.GroupBy.pct_change
-
GroupBy.pct_change(periods=1, fill_method='pad', limit=None, freq=None, axis=0)
[source] -
Calcuate pct_change of each value to previous entry in group
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.core.groupby.GroupBy.pct_change.html