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
This difference is probably breaking the way the sortedcontainers implementation. Not sure what the best way to handle is, I could see either returning an error if a NaT is added to a TimeSeries or trying to convert the type to something else that is a bit more consistent.
The text was updated successfully, but these errors were encountered:
When using pandas Timestamps to create TimeSeries, any
NaT
values create unexpected results. For example the following snippetreturns
3
I suspect this is because
pd.NaT
implements comparisons in a different way than standard Python. e.g.This difference is probably breaking the way the
sortedcontainers
implementation. Not sure what the best way to handle is, I could see either returning an error if aNaT
is added to a TimeSeries or trying to convert the type to something else that is a bit more consistent.The text was updated successfully, but these errors were encountered: