Skip to content

BUG: Clean intersection and fix resulting names when MultiIndex are equal #38302

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

Merged
merged 3 commits into from
Dec 7, 2020

Conversation

phofl
Copy link
Member

@phofl phofl commented Dec 5, 2020

  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff

Names were wrong when MultiIndexes where equal and unique with different names. Additional cleanups

cc @jbrockmendel

@phofl
Copy link
Member Author

phofl commented Dec 5, 2020

Do not need a whatsnew, cause this was introduced with 7e2aa42

@jbrockmendel
Copy link
Member

PeriodIndex?

@phofl
Copy link
Member Author

phofl commented Dec 5, 2020

Missed that. Added it and added a test

@jbrockmendel
Copy link
Member

LGTM cc @jreback

@jreback jreback added the Clean label Dec 7, 2020
@jreback jreback added this to the 1.2 milestone Dec 7, 2020
@jreback
Copy link
Contributor

jreback commented Dec 7, 2020

Do not need a whatsnew, cause this was introduced with 7e2aa42

nope if in the same version (which this is)

@jreback jreback merged commit b23bba9 into pandas-dev:master Dec 7, 2020
@jreback
Copy link
Contributor

jreback commented Dec 7, 2020

thanks @phofl

@phofl phofl deleted the CLN_multiindex_intersection branch December 10, 2021 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants