-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix to_index(): return multiindex level as single index #7105
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
Conversation
I like this fix in general: we fix the backwards incompatible change and work to remove MultiIndex special cases separately. Though this PR seems to have broken a lot of things :) |
Yes I agree it would be nice if we can roll back this breaking change. However, it really conflicts with |
Add Variable._to_index method used internally and returns multi-index for level variables.
Tests should be ok now, although this is not a super clean workaround. IndexVariable still needs some more refactoring anyway. |
Thanks @benbovy |
whats-new.rst