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

DEPR: deprecate float keys in non-float indexers #4892

Closed
jreback opened this issue Sep 20, 2013 · 0 comments · Fixed by #6853
Closed

DEPR: deprecate float keys in non-float indexers #4892

jreback opened this issue Sep 20, 2013 · 0 comments · Fixed by #6853
Assignees
Labels
Admin Administrative tasks related to the pandas project API Design Deprecate Functionality to remove in pandas Error Reporting Incorrect or improved errors from pandas Indexing Related to indexing on series/frames, not to indexes themselves
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Sep 20, 2013

see #4850

Series(range(5))[3.0]

is accepted in 0.13, but ought to be deprecated (and warned)

ideally raise a TypeError after some transition period

note this does not really affect positional indexing fallback per se,

@ghost ghost assigned jreback Dec 18, 2013
jreback added a commit to jreback/pandas that referenced this issue Feb 12, 2016
…nal setting,

and raise a TypeError, xref pandas-dev#4892

BUG: index type coercion when setting with an integer-like

closes pandas-dev#11836
jreback added a commit that referenced this issue Feb 13, 2016
raise a TypeError instead, xref #4892

closes #11836

similar to numpy in 1.11 [here](numpy/numpy#6271)

Author: Jeff Reback <jeff@reback.net>

Closes #12246 from jreback/deprecate2 and squashes the following commits:

5f7c9e9 [Jeff Reback] DEPR: removal of deprecation warnings for float indexers in a positional setting, and raise a TypeError, xref #4892
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Administrative tasks related to the pandas project API Design Deprecate Functionality to remove in pandas Error Reporting Incorrect or improved errors from pandas Indexing Related to indexing on series/frames, not to indexes themselves
Projects
None yet
1 participant