You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
There is a plan for adding a dynamic length type: #482 (comment)
So that new type can serve for insert/delete columns.
About update: the inplaced update operations are fine for a static length TimeArray. I think it's okay to just add setindex!(ta, ::Vector, name::Symbol) for it.
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
andrename!
, I think it may be helpful to have functions which:NaN
removalPotentially, we could also support
filter!
to filter aTimeArray
in place, as this would not add any date points and would not affect the fact that theTimeArray
is sorted. Thoughts?The text was updated successfully, but these errors were encountered: