Skip to content
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

TST: Series constructor behavior is consistent for mixed float NaN and int dtype data #37090

Merged
merged 1 commit into from
Oct 25, 2020

Conversation

arw2019
Copy link
Member

@arw2019 arw2019 commented Oct 12, 2020

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Oct 25, 2020
@mroeschke mroeschke added this to the 1.2 milestone Oct 25, 2020
@mroeschke mroeschke merged commit 35085ad into pandas-dev:master Oct 25, 2020
@mroeschke
Copy link
Member

Thanks @arw2019

JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Oct 26, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
@jbrockmendel
Copy link
Member

um, why does this solve the issue in #22585? IIUC the issue there was that Series(list_with_nan, dtype=inty) raises while Series(ndarray_with_nan, dtype=inty) coerces, so this is just testing the inconsistent behavior

@jbrockmendel
Copy link
Member

or maybe it was consistent at the time of this PR but the ndarray case has been changed since then?

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.

Series constructor with missing values and int dtype fails or passes depending on data type
3 participants