-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Labels mismatch when adding series with repeated index values in 0.19rc1 #14227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html#series-operators-for-different-indexes this may now not be well defined for duplicates |
Alrighty. Thanks for the pointer. |
I don't think this change was intentional. The whatsnew also says "Arithmetic operators align both index (no changes)." |
@jorisvandenbossche agreed that it wasn't intentional, but does the old behavior make sense under the new equality rules (or the old ones for that matter)? |
If we go from the "align both index" description (of course not sure if this is also how it is in the docs or is meant initially), I would expect this yes:
|
Whoops, yeah obviously that's the expected output. |
I wouldn't call it that "obvious" :-), but it does follow from the rules in some way |
This showed up in the dask.dataframe test suite when testing against the 0.19 release candidate. I'm unsure if this was an intended change or not:
Pandas 0.18
Pandas 0.19rc1
The text was updated successfully, but these errors were encountered: