okama.Inflation.cumulative_inflation

property Inflation.cumulative_inflation

Calculate cumulative inflation rate time series for the whole period.

Returns:
Series

Cumulative inflation rate.

Examples

>>> x = ok.Inflation('RUB.INFL', first_date='2020-01', last_date='2020-12')
>>> x.cumulative_inflation
date
2020-01    0.004000
2020-02    0.007313
2020-03    0.012853
2020-04    0.021260
2020-05    0.024018
2020-06    0.026270
2020-07    0.029862
2020-08    0.029450
2020-09    0.028730
2020-10    0.033153
2020-11    0.040489
2020-12    0.049125
Freq: M, Name: RUB.INFL, dtype: float64