Skip to content

Fix .isin Considers "1" and 1 equal #34267

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 11 commits into from
Jun 8, 2020
Merged

Conversation

gabrielvf1
Copy link
Contributor

@gabrielvf1 gabrielvf1 commented May 19, 2020

@WillAyd WillAyd changed the title Issue#34125 Fix .isin Considers "1" and 1 equal May 20, 2020
@jreback jreback added the Dtype Conversions Unexpected or buggy dtype conversions label May 20, 2020
@@ -2374,3 +2374,30 @@ def test_index(self):
dtype="timedelta64[ns]",
)
tm.assert_series_equal(algos.mode(idx), exp)

@pytest.mark.xfail(reason="problem related with issue #34125")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put these in the right class, Isin

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course, sorry about that, I didn’t realize that this class exists, my bad! But everything looks good now!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it right?

Some fix just that i forgot to delete some code
@jreback jreback added this to the 1.1 milestone Jun 8, 2020
@jreback jreback added the Testing pandas testing functions or related to the test suite label Jun 8, 2020
@jreback jreback merged commit 9a2e821 into pandas-dev:master Jun 8, 2020
@jreback
Copy link
Contributor

jreback commented Jun 8, 2020

thanks @gabrielvf1

@TomAugspurger
Copy link
Contributor

So this one just has the tests, but the bug is still present on master?

@gabrielvf1
Copy link
Contributor Author

So this one just has the tests, but the bug is still present on master?

Yes, I tried to solve but the way I made it was not right enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dtype Conversions Unexpected or buggy dtype conversions Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants