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
{{ message }}
Repository navigation
Numpy timedelta64 NaT not converted to uint64 NaN #16391
Not sure if this is expected behaviour, but converting a timedelta64 Not a Time (NaT) object to an uint64 type doesn't give NaN. Instead, it produces a large number.
Activity
mattip commentedon May 27, 2020
There is no such creature as an
int nan,float64has the same behaviour.We could perhaps warn here.
ihnorton commentedon Jun 18, 2020
I've encountered similar surprises given that the representation of
NaTastypemin(int64)seems to be undocumented (related). Should it be?