Skip to content

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Dec 23, 2020

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

@jreback jreback added Categorical Categorical Data Type MultiIndex labels Dec 23, 2020
@jreback jreback added this to the 1.3 milestone Dec 23, 2020
@jreback
Copy link
Contributor

jreback commented Dec 23, 2020

what is the bug here? need a whatsnew? can you rebase

@jbrockmendel
Copy link
Member Author

can you rebase

just did, and managed to fully share the intersection methods!

need a whatsnew?

added

what is the bug here?

mi = pd.MultiIndex.from_product([range(2), range(3)])
cat = mi.to_flat_index().astype('category')

>>> mi.intersection(cat)
MultiIndex([], )

@jreback
Copy link
Contributor

jreback commented Dec 23, 2020

nice ping on greenish

@jbrockmendel
Copy link
Member Author

ping

@jreback jreback merged commit a943a09 into pandas-dev:master Dec 23, 2020
@jbrockmendel jbrockmendel deleted the bug-intersect-categorical branch December 23, 2020 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Categorical Categorical Data Type MultiIndex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants