-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix swap_dims() index names (issue #3748) #3752
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 added a simple test, but not sure it is correctly set up. I wasn't sure about how pytest fixtures worked, so I didn't know if I needed/how to set up a new fixture to test the bugfix. |
|
The 4 pytest failures per check are taking place in |
dcherian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jaicher. I see that this is your first PR. Welcome!
This PR is looking great. I have two minor suggestions.
+ integrated new tests for GH3748 for DataArray into existing swap_dims tests + added similar tests for Dataset + added test for multiindex case
a1dfd46 to
f5b66f3
Compare
|
We have different test failures than last time. They appear to be happening in tests with time indexes this time. I suspect these failures are again unrelated to the pull request. |
dcherian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. I'll merge once tests look good.
Thanks @jaicher
|
test failure is unrelated. Thanks @jaicher |
swap_dims()incorrectly changes underlying index name #3748isort -rc . && black . && mypy . && flake8whats-new.rstfor all changes andapi.rstfor new API