hpipy.utils.metrics.revision#
- class hpipy.utils.metrics.revision(series_obj, in_place=False, smooth=False)[source]
Bases:
Calculate the revision for a series of indices.
This is done by calculating the difference between consecutive indexes (n to n+1) and then calculating the mean and median of the differences. This is done for each period and the results are returned as a DataFrame.
- Parameters:
- Returns:
- Revision and associated statistics
as object or DataFrame.
- Return type:
BaseHousePriceIndex | pd.DataFrame
- __call__(**kwargs)
Call self as a function.
- __init__(**kwargs)