Skip to content

BUG in MultiIndex.drop for not-lexsorted multi-indexes, #12078 #12158

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

Closed
wants to merge 1 commit into from
Closed

BUG in MultiIndex.drop for not-lexsorted multi-indexes, #12078 #12158

wants to merge 1 commit into from

Conversation

nbonnotte
Copy link
Contributor

Closes #12078

@@ -1048,6 +1049,25 @@ def test_drop(self):
expected = Index([1, 2])
self.assert_index_equal(dropped, expected)

def test_drop_multiindex_not_lexsorted(self):
# GH 12078
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move to test_multi.py

@jreback jreback added Bug Indexing Related to indexing on series/frames, not to indexes themselves MultiIndex labels Jan 27, 2016
@jreback jreback added this to the 0.18.0 milestone Jan 27, 2016
@nbonnotte
Copy link
Contributor Author

I've taken into account the comments.

All green now.

@jreback
Copy link
Contributor

jreback commented Jan 28, 2016

merged via f673af1

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indexing Related to indexing on series/frames, not to indexes themselves MultiIndex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants