-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: DataFrame.isin fails when other is a categorical series #34256
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
Comments
Seems to be fixed on master. Not sure if we have a test for it though. |
Can I work on this? |
@saiajay5674 PRs are welcome, see the contributing guide for how to get started Perhaps check first to see if there's already a test for this issue, and if there's not, you could add one |
@MarcoGorelli We can create Pytest test cases, right? |
Yes, that's the testing framework pandas uses. If you'd like to work on this, please comment 'take' so the issue is assigned to you |
Take |
I have committed the changes. What are the next steps? I am new to Open Source Contribution. Please let me know. |
I have committed. Please check. |
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Code Sample, a copy-pastable example
Problem description
This operation previously worked in pandas 0.25.3 and gave the same result as the case when other is a single column DataFrame.
Expected Output
Output of
pd.show_versions()
INSTALLED VERSIONS
commit : None
python : 3.7.6.final.0
python-bits : 64
OS : Linux
OS-release : 4.15.0-76-generic
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : en_US.UTF-8
LOCALE : en_US.UTF-8
pandas : 1.0.3
numpy : 1.18.4
pytz : 2020.1
dateutil : 2.8.1
pip : 20.1
setuptools : 46.4.0.post20200518
Cython : 0.29.17
pytest : 5.4.2
hypothesis : 5.14.0
sphinx : 3.0.3
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 2.11.2
IPython : 7.14.0
pandas_datareader: None
bs4 : None
bottleneck : None
fastparquet : None
gcsfs : None
lxml.etree : None
matplotlib : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 0.15.0
pytables : None
pytest : 5.4.2
pyxlsb : None
s3fs : None
scipy : None
sqlalchemy : None
tables : None
tabulate : None
xarray : None
xlrd : None
xlwt : None
xlsxwriter : None
numba : 0.49.1
The text was updated successfully, but these errors were encountered: