-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: reset_index on a MultiIndex with duplicate levels raises a ValueError #44755
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
jreback
merged 75 commits into
pandas-dev:main
from
johnzangwill:reset_index-duplicate-labels
Jan 30, 2022
Merged
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit
Hold shift + click to select a range
88cd26f
reset_index to handle duplicate column labels
johnzangwill a23dbdc
Add tests
johnzangwill b101177
Add tests
johnzangwill 39d9f75
Update v1.4.0.rst
johnzangwill c83b84b
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill e1a5910
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill e5ab5f7
Implement allow_duplicates parameter
johnzangwill b4828e6
Formatting
johnzangwill d9d60ee
Add docstrings
johnzangwill e1bb16f
Trigger CI
johnzangwill e924f93
Trigger CI
johnzangwill 65c6fef
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 704fae4
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 2911dd7
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 96af74d
Update v1.4.0.rst
johnzangwill 0e90ae9
Update test_reset_index.py
johnzangwill 170d05f
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill fe23eeb
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill a0f0e4c
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 01ad538
Make separate allow_duplicates test
johnzangwill 9da58ed
Update test_reset_index.py
johnzangwill 9d988a0
Update test_reset_index.py
johnzangwill a108a70
Merge branch 'master' into reset_index-duplicate-labels
johnzangwill 13c6dce
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 2b37ab3
Trigger CI
johnzangwill 140b5d9
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 1bd1cbd
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill e27df82
Change from None to use_flag
johnzangwill 749838c
Get rid of use_flag altogether
johnzangwill c7cf483
Update frame.py
johnzangwill 7711474
Added version and improved tests
johnzangwill 0ecf6fd
Trigger CI
johnzangwill 0730d7b
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 99ea2c3
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 250999a
Trigger CI
johnzangwill 090468e
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 14a07e1
Trigger CI
johnzangwill 8eb8710
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 18341db
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 1337283
Trigger CI
johnzangwill a8dab78
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 95cc65b
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 7de074c
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill bb54268
allow_duplicates lib.no_default
johnzangwill 01136ae
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill d21846b
Trigger CI
johnzangwill 3ef667c
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 22deac4
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 540b307
Correct overloads
johnzangwill 8cc81b0
Merge branch 'reset_index-duplicate-labels' of https://github.com/joh…
johnzangwill fc74265
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill a59644a
Update frame.py
johnzangwill b774598
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 67a5956
Update frame.py
johnzangwill e88b8e2
Merge branch 'reset_index-duplicate-labels' of https://github.com/joh…
johnzangwill 9ad3026
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 1fdc39f
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill 7639464
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill c58d992
Merge branch 'pandas-dev:master' into reset_index-duplicate-labels
johnzangwill e07eea6
Merge branch 'main' into reset_index-duplicate-labels
johnzangwill 04b3a38
Removed docstring Raises
johnzangwill 2f94170
Version to 1.5
johnzangwill 9241f96
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 0b84426
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill c2bed8f
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 3530ca8
Merge branch 'main' into reset_index-duplicate-labels
johnzangwill dddae07
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 14edbdb
Update series.py
johnzangwill 8383572
Merge branch 'reset_index-duplicate-labels' of https://github.com/joh…
johnzangwill 37cc560
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 3625d77
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 9d0f798
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill e2fbf3e
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 0b2a9d1
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill c5618c8
Merge branch 'pandas-dev:main' into reset_index-duplicate-labels
johnzangwill 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
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.
Uh oh!
There was an error while loading. Please reload this page.