Skip to content

DataFrame.ix selecting integer index not label index #2072

Closed
@adamgreenhall

Description

@adamgreenhall

I recently was using .ix on a DataFrame with an index that is very close to the integer index and got some unexpected results:
http://nbviewer.ipython.org/3882591/wonky-indexes.ipynb

I'm not sure if this is a bug or if I'm misreading the docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IndexingRelated 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