While I understand the point of disallowing inserting new data points into the middle of a time series (which is immutable), since we already support update and rename!, I think it may be helpful to have functions which:
- Add new columns (reallocating the backing array)
- Map a column, replacing it with its result. This would especially be useful for, e.g.,
NaN removal
Potentially, we could also support filter! to filter a TimeArray in place, as this would not add any date points and would not affect the fact that the TimeArray is sorted. Thoughts?
While I understand the point of disallowing inserting new data points into the middle of a time series (which is immutable), since we already support
updateandrename!, I think it may be helpful to have functions which:NaNremovalPotentially, we could also support
filter!to filter aTimeArrayin place, as this would not add any date points and would not affect the fact that theTimeArrayis sorted. Thoughts?