Skip to content

BUG: DataFrame constructor should not promote complex64 dtypes (GH10952) #10975

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

Closed
wants to merge 1 commit into from

Conversation

ajcr
Copy link
Contributor

@ajcr ajcr commented Sep 2, 2015

Addresses GH10952.

When passing an array with complex64 dtype to the DataFrame constructor, that array will no longer be automatically promoted to the complex128 dtype (different complex dtypes are now allowed).

@jreback
Copy link
Contributor

jreback commented Sep 2, 2015

very simple! nice!

@jreback jreback added this to the 0.17.0 milestone Sep 2, 2015
@jreback jreback added Dtype Conversions Unexpected or buggy dtype conversions Complex Complex Numbers labels Sep 2, 2015
@jreback
Copy link
Contributor

jreback commented Sep 3, 2015

merged via b5b06cf

tip: to avoid merge conflicts in the whatsnew, put the entry not at the end, that's why I leave blank spaces in the Bug fixes (though this is a slight api change).

@ajcr
Copy link
Contributor Author

ajcr commented Sep 3, 2015

Thanks! I'll remember to leave spaces in the file next time.

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

Successfully merging this pull request may close these issues.

2 participants