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
The following looks like a bug to me as DataFrame.duplicated() gives different results on what should be identical inputs. To me it looks like the problem is with the datetime64 values because if you look at the output of dates.values it's clear that the last 4 values are duplicates.
Please see the code below that reproduces the problem:
I remember reading somewhere that there are problems with datetime64 in numpy 1.6 but I don't understand what coercions are taking place behind the scenes. Also, if someone could please explain to me why the dates in dates.values above are wrong and how to avoid this, I would appreciate it.
The text was updated successfully, but these errors were encountered:
The following looks like a bug to me as DataFrame.duplicated() gives different results on what should be identical inputs. To me it looks like the problem is with the datetime64 values because if you look at the output of
dates.values
it's clear that the last 4 values are duplicates.Please see the code below that reproduces the problem:
I remember reading somewhere that there are problems with datetime64 in numpy 1.6 but I don't understand what coercions are taking place behind the scenes. Also, if someone could please explain to me why the dates in
dates.values
above are wrong and how to avoid this, I would appreciate it.The text was updated successfully, but these errors were encountered: