Skip to content

BUG: Fix implicit conversion to float64 with isin() #61679

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pbrochart
Copy link
Contributor

@pbrochart pbrochart commented Jun 19, 2025

@pbrochart
Copy link
Contributor Author

pre-commit.ci autofix

@simonjayhawkins simonjayhawkins added Bug Dtype Conversions Unexpected or buggy dtype conversions isin isin method labels Jun 25, 2025
@@ -59,6 +60,7 @@
"is_float",
"is_float_dtype",
"is_hashable",
"is_implicit_conversion_to_float64",
Copy link
Member

Choose a reason for hiding this comment

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

To fix the original issue, we shouldn't need to create a new function (and expose it as a public API)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Dtype Conversions Unexpected or buggy dtype conversions isin isin method
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Implicit conversion to float64 with isin()
3 participants