We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
import pandas as pd mi1 = pd.MultiIndex.from_tuples([(1, pd.NA)]) mi2 = pd.MultiIndex.from_tuples([(1, 1), (1, 2)]) mi2.isin(mi1)
output:
array([True, True]) # <- main array([False, False]) # <- 1.5.0
Regression is on main only and looks to be a result of #48622.
The bug is not in MultiIndex.isin per se, but #48622 looks to have exposed the underlying bug to MultiIndex.isin.
MultiIndex.isin
Open PR #48877 will fix the underlying bug.
array([False, False])
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
output:
Regression is on main only and looks to be a result of #48622.
The bug is not in
MultiIndex.isin
per se, but #48622 looks to have exposed the underlying bug toMultiIndex.isin
.Open PR #48877 will fix the underlying bug.
Expected Behavior
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: