-
- Notifications
You must be signed in to change notification settings - Fork 19.4k
BUG: Fix duplicates in intersection of multiindexes #36927
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits Select commit Hold shift + click to select a range
cdefaae Fix duplicates in intersectin of multiindexes
phofl fbd63f2 Fix duplicates in index intersection
phofl 53a37d1 Modify test and avoid None issues
phofl 5675a4e Fix failing test
phofl 134936c Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
phofl 582c0b9 Change comment
phofl 7805de5 Add unique after intersection
phofl 67691df Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
phofl 8fb0055 Merge branch '31326' into 36915
phofl 66b519f Fix merge bug
phofl cb1477b Add tests and whatsnew
phofl 0fb2561 Add rename
phofl 3c19d57 Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
phofl 10524fd Fix check in merge operation
phofl 3dde0ee Exit set ops when nonunique
phofl a0a1a33 Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
phofl 45dfb84 Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
phofl d71a499 Roll back to initial version
phofl d873d5a Change whatsnew
phofl e90239a Move whatsnew
phofl c2b448a Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
phofl 742716e Change gh reference
phofl 321797a Remove pd
phofl a980ec0 Remove whatsnew from 1.2
phofl 972fd48 Fix test
phofl fe1ded4 Make condition more clear and add assert
phofl 8e4d47b Use shape for equality check
phofl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge branch 'master' of https://github.com/pandas-dev/pandas into 36915
� Conflicts: � doc/source/whatsnew/v1.2.0.rst � pandas/tests/indexes/test_setops.py
- Loading branch information
commit a0a1a33daefafbce7d747f28a2098f74a91a19f1
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xref #36915 (comment) This is fixing a regression from 1.0.5? Can we target 1.1.5 with this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved the whatsnew, but this may be tricky to backport.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've not yet reviewed this PR. are there any changes other than those required to fix the regression here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge and setops relied partially on the wrong behavior, had to fix this too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, not investigated fully, but this PR may sit on top of #37171 (which incidentally caused a perf regression #37171 (comment) so maybe that we want to revert that first before committing the changes here anyhow)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opened #38133 to test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not checked all the envs, but a quick check on a couple shows the same tests failing on the backport as here. so that's encouraging.
I think we should target as a backport. and if issues down the road will just have to move the release note back.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, thats a good sign. Lets try this then, when everything is green here