okama.Inflation.rolling_inflation

property Inflation.rolling_inflation

Calculate 12 months rolling inflation time series.

Returns:
Series

12 months rolling inflation time series.

Examples

>>> import matplotlib.pyplot as plt
>>> infl = ok.Inflation('ILS.INFL', first_date='1980-01', last_date='1989-12')
>>> infl.rolling_inflation.plot()
>>> plt.show()
../_images/okama-Inflation-rolling_inflation-1.png