Skip to content

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

Closed
@jreback

Description

@jreback

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,

Metadata

Metadata

Assignees

Labels

API DesignAdminAdministrative tasks related to the pandas projectDeprecateFunctionality to remove in pandasError ReportingIncorrect or improved errors from pandasIndexingRelated to indexing on series/frames, not to indexes themselves

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions