-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: GH17464 MultiIndex now raises an error when levels aren't unique, tests changed #17971
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 all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
a9a5177
BUG: GH17464 Add error checking for duplicate levels in MultiIndex
cmazzullo 91c8388
Remove duplicate levels from `test_is_`
cmazzullo 392ce8a
Remove duplicate levels from `test_level_setting_resets_attributes`
cmazzullo 3c0812e
Remove duplicate levels from `test_frame_describe_multikey`
cmazzullo 0983453
Add comments about change
cmazzullo b39421f
Added comments changes w/ bug number
cmazzullo 5771426
PEP8 compliance
cmazzullo 48f9429
whatsnew entry
cmazzullo 9ffc8ad
Remove duplicate levels from `test_is_`
cmazzullo e70a2be
Remove duplicate levels from `test_level_setting_resets_attributes`
cmazzullo c28d3df
Remove duplicate levels from `test_frame_describe_multikey`
cmazzullo 03f2da8
Add comments about change
cmazzullo 1d45ab6
Added comments changes w/ bug number
cmazzullo 015af48
PEP8 compliance
cmazzullo 9dc7eb5
whatsnew entry
cmazzullo 9aa2bcd
Whatsnew backticks
cmazzullo e52460e
whatsnew merging
cmazzullo 48d509d
Removed comments about this issue from other tests
cmazzullo d75e1de
Added test to make sure a ValueError is thrown
cmazzullo 0943d19
PEP8 compliance
cmazzullo 6f2efc6
move whatsnew to 0.22.0
jreback 840fe56
Remove duplicate levels from `test_is_`
cmazzullo 137bc16
Remove duplicate levels from `test_frame_describe_multikey`
cmazzullo 0129ee7
Add comments about change
cmazzullo 8b400dc
Added comments changes w/ bug number
cmazzullo 0a8e9f2
PEP8 compliance
cmazzullo cc7ebc7
whatsnew entry
cmazzullo b02114f
Remove duplicate levels from `test_is_`
cmazzullo b56eca0
Remove duplicate levels from `test_level_setting_resets_attributes`
cmazzullo 9f179e6
Remove duplicate levels from `test_frame_describe_multikey`
cmazzullo 2af9aba
Add comments about change
cmazzullo 3e56aba
Added comments changes w/ bug number
cmazzullo 85d6379
PEP8 compliance
cmazzullo 49b731d
whatsnew entry
cmazzullo ec4f971
Whatsnew backticks
cmazzullo 2684855
whatsnew merging
cmazzullo c36c236
Removed comments about this issue from other tests
cmazzullo 2b3f4d4
Added test to make sure a ValueError is thrown
cmazzullo 386daaf
move whatsnew to 0.22.0
jreback c169645
Updated `test_frame_describe_multikey` to remove duplicate MultiIndex…
cmazzullo 073e629
Fixed linting issue
cmazzullo 869157d
whatsnew changes
cmazzullo 44e4552
Kwargs in error message
cmazzullo 297216b
Removed unnecessary comment
cmazzullo fead79f
Added blank line
cmazzullo 703ff1e
Got rid of duplicated tests
cmazzullo 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
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
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
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.
can you add an explicit test for the issue, e.g that you are raising (use the example from the original issue).