Skip to content

TST: add test Index.where infers dtype instead of converting string to float (#32413) #45870

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 1 commit into from
Feb 9, 2022

Conversation

rendner
Copy link
Contributor

@rendner rendner commented Feb 8, 2022

This PR provides a test case for the already fixed problem #32413.

If the test name is not suitable, it would be good if you can suggest a better one.

@rendner rendner changed the title TST: add test for Index.where (#32413) TST: add test for Index.where does not infer dtype from other (#32413) Feb 8, 2022
@rendner rendner changed the title TST: add test for Index.where does not infer dtype from other (#32413) TST: add test Index.where infers dtype instead of converting string to float (#32413) Feb 8, 2022
@mroeschke mroeschke added this to the 1.5 milestone Feb 8, 2022
@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Feb 8, 2022
@jreback jreback merged commit 4027b9b into pandas-dev:main Feb 9, 2022
@jreback
Copy link
Contributor

jreback commented Feb 9, 2022

thanks @rendner

@rendner rendner deleted the pr-32413_add_test branch February 9, 2022 08:32
phofl pushed a commit to phofl/pandas that referenced this pull request Feb 14, 2022
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object dtype gives ValueError in _maybe_cast_with_dtype
3 participants