-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Exception raised for a duplicate MultiIndex level name #9399
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
Comments
I agree -- that first error looks very strange. It's particularly strange that the test is for a private method. We probably should be checking for duplicate names when |
private methods should be explicity tested just as public api methods. These tests are for 2 different things. The first because of an invalid level name The issue here is this. a So names can be:
|
Sounds good to me! |
Seems like there hasn't been much interest in this feature over the years so closing |
The following two tests seem inconsistent. Why does the first test for a
KeyError
while the second tests for aValueError
? Also, the first error message,Level foo not found
, doesn't seem correct.test_index.py
:test_frame.py
:The text was updated successfully, but these errors were encountered: