Skip to content

API/BUG Raise ValueError when stacking nonunique levels #6849

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 1 commit into from
Apr 9, 2014

Conversation

TomAugspurger
Copy link
Contributor

Should raise a ValueError when (un)stacking a DataFrame
on a nonunique level. Previous behavior was to raise
a KeyError (not deliberately). Closes #6729.

Should raise a ValueError when (un)stacking a DataFrame
on a nonunique level. Previous behavior was to raise
a KeyError (not deliberately). Closes pandas-dev#6729.
@TomAugspurger
Copy link
Contributor Author

This replaces my PR #6738 because I don't know how to git.

TomAugspurger pushed a commit that referenced this pull request Apr 9, 2014
API/BUG Raise ValueError when stacking nonunique levels
@TomAugspurger TomAugspurger merged commit f8c566c into pandas-dev:master Apr 9, 2014
@TomAugspurger TomAugspurger deleted the unstack-nonunique branch April 5, 2017 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[API/ERR]: Better error message on unstack with non-unique index names
1 participant