-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST: Test renaming a multiindex with duplicates (GH 38015) #43187
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
TST: Test renaming a multiindex with duplicates (GH 38015) #43187
Conversation
|
||
def test_rename_multiindex_with_duplicates(self): | ||
# GH 38015 | ||
idx = pd.Index([("A", "cat"), ("B", "cat"), ("B", "cat")]) |
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 good in General. Please use the MultiIndex constructor and compare the whole dataframe
Hello @andrewwoood! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2021-09-05 05:02:05 UTC |
Some pre-commit issues, otherwise lgtm. You could install pre-commit to run the hooks locally before pushing |
can you merge master and ping on green |
362def3
to
e95ad00
Compare
@jreback Sorry, is this what you were asking me to do? I'm not very competent with using git and contributing to open-source quite yet. I tried using the pre-commit framework but it doesn't seem to help my file pass the pre-commit check. |
The ci tells you whats wrong:
|
Thanks @andrewwoood! Happy to have you address similar |
This is my first real contribution, I appreciate the feedback!