We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In [2]: df = DataFrame({'a': [1,2,3], 'b': [1,2,3], 'c': [4,5,6]}) In [3]: df.set_index(['a','b'], inplace=True) Out[3]: c a b 1 1 4 2 2 5 3 3 6 In [5]: dropped = df.drop((1,1)) In [6]: dropped Out[6]: c 2 2 5 3 3 6
MultiIndex is gone! (2,2) and (3,3) are now plain tuples
The text was updated successfully, but these errors were encountered:
Thanks-- I'll take a look
Sorry, something went wrong.
836ecab
The MultiIndex was still there but the names are not preserved. Fixed now
No branches or pull requests
MultiIndex is gone! (2,2) and (3,3) are now plain tuples
The text was updated successfully, but these errors were encountered: