Add a clean time series method "average"
Closed this issue · 1 comments
ryandrewjones commented
When I am doing reconciliation between top down and bottom up data and get a series of "factors" over time, I may want to to take an average of these factors to serve as reconciliation factors in future years.
To do this, I need a clean timeseries method called "average" that fills missing years with an average of the given years.
AC
- the TimeSeries.clean method accepts an interpolation_method or extrapolation_method called "average" and uses the mean of the given data to fill in missing data over a new index
ryandrewjones commented
Ben, assigned to you to review and merge with master.