-
Notifications
You must be signed in to change notification settings - Fork 42
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
AxisArrays allows repeated values in axis #192
Comments
Why should this be disallowed? If e.g.
|
I think that's the problem -- AxisArrays allows you to look up keys that aren't unique, which (I assume) very often indicates a bug, rather than being the user's actual intention. |
But just asserting this doesn't answer the question. Why shouldn't the labels attached to axes be categories or dates or some other information, which may have duplicates? If you want to ensure they are unique, you can call |
It seems that AxisArrays doesn't check that the names in an axis are unique. The MWE currently works and it seems it shouldn't
MWE
The text was updated successfully, but these errors were encountered: