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: ensure index casting works even in Int64Index #3322

Merged
merged 1 commit into from
Apr 12, 2013

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Apr 11, 2013

df = DataFrame({'A' : [1.1,2.2,3.3], 'B' : [5.0,6.1,7.2]}, index = [2010, 2011, 2012])
df.index = df.index.astype(int)
df.ix[2010]

was failing - fixed up

from the mailing list
https://groups.google.com/forum/?fromgroups#!topic/pydata/ClJA5ldNQNQ

wesm added a commit that referenced this pull request Apr 12, 2013
BUG: ensure index casting works even in Int64Index
@wesm wesm merged commit 7b58f1d into pandas-dev:master Apr 12, 2013
@wesm
Copy link
Member

wesm commented Apr 12, 2013

Thanks Jeff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants