Skip to content

BUG: Float64Index.astype('u8') returns Int64Index #45309

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 4 commits into from
Jan 16, 2022

Conversation

jbrockmendel
Copy link
Member

We could deprecate the casting instead of raising. Or could decide we're OK allowing it I guess.

@jbrockmendel jbrockmendel added Astype Bug Index Related to the Index class or subclasses labels Jan 15, 2022
@jreback jreback added this to the 1.5 milestone Jan 16, 2022
@jreback jreback merged commit fafb129 into pandas-dev:main Jan 16, 2022
@jreback
Copy link
Contributor

jreback commented Jan 16, 2022

this is fine

@jbrockmendel jbrockmendel deleted the bug-astype-uint branch January 16, 2022 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Astype Bug Index Related to the Index class or subclasses
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: astype_nansafe from float to unsigned int with negatives
2 participants