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 code prints False when run with Pandas 0.15.0, but True with 0.15.2; I'm using Python 2.7.6 on Ubuntu 14.04.1 in both cases. Is this change in behavior expected? (I was using has_duplicates to detect duplicate tuples in the index.)
a bug caused by the indexer overflowing the smaller dtypes. fixed in #9077. This only had one test.
That said, the drop_duplicates/duplicated methods exist on Index objects (also as of 0.15.0.)
Another way to do this is idx.duplicated().any() which in this case is faster, though it depends on the length of the index versus the level depth.
The following code prints False when run with Pandas 0.15.0, but True with 0.15.2; I'm using Python 2.7.6 on Ubuntu 14.04.1 in both cases. Is this change in behavior expected? (I was using has_duplicates to detect duplicate tuples in the index.)
Reference on StackOverflow here.
The text was updated successfully, but these errors were encountered: