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
Assuming that there are no NaNs in the data is the largest assumption that this library makes.
Why is this a large assumption
Plotting libraries use NaN values to represent gaps (i.e., disconnected parts of the time series).
How should we tackle / handle NaNs
Ideally we would have a NaN-policy. Currently I see only 2 options that this policy should support:
omit NaNs (skip / ignore them when performing the downsampling)
return NaN once there is one present in the considered data (e.g., in the bin)
For the MinMaxDownsampler, M4Downsampler, and (largely) the MinMaxLTTBDownsampler, this would boil down to adding NaN support (with some sort policy as described above) to the argminmax crate.
How we would support NaNs in the LTTBDownsampler is not yet 100% clear to me.
The text was updated successfully, but these errors were encountered:
Assuming that there are no
NaN
s in the data is the largest assumption that this library makes.Why is this a large assumption
Plotting libraries use
NaN
values to represent gaps (i.e., disconnected parts of the time series).How should we tackle / handle
NaNs
Ideally we would have a
NaN
-policy. Currently I see only 2 options that this policy should support:NaN
s (skip / ignore them when performing the downsampling)NaN
once there is one present in the considered data (e.g., in the bin)For the
MinMaxDownsampler
,M4Downsampler
, and (largely) theMinMaxLTTBDownsampler
, this would boil down to addingNaN
support (with some sort policy as described above) to theargminmax
crate.How we would support
NaN
s in theLTTBDownsampler
is not yet 100% clear to me.The text was updated successfully, but these errors were encountered: