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

BUG: .astype of Float64Index #12881

Closed
jreback opened this issue Apr 12, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@jreback
Copy link
Contributor

commented Apr 12, 2016

xref #12866

data = Index([u'0', u'1', u'2'], dtype='object')
data.astype('float64').astype('int64')
TypeError: Setting <class 'pandas.indexes.numeric.Float64Index'> dtype to anything other than float64 or object is not supported

this should work

@jreback

This comment has been minimized.

Copy link
Contributor Author

commented Apr 12, 2016

jreback added a commit to jreback/pandas that referenced this issue Apr 16, 2016

@jreback jreback closed this in bac68d6 Apr 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.