Skip to content

.ix() failure for mixed-integer index #1799

@lodagro

Description

@lodagro

from mailinglist
cc @ruidc

With the following DataFrame:

df = pandas.DataFrame(index=[1, 10, 'C', 'E'], columns=[1, 2, 3])

df.ix[df.index[:-1]] works
df.ix[:-1] doesn't

df.ix[[1, 10]] does not work
df.ix[pandas.Index([1, 10], dtype=df.index.dtype)] works
df.ix[10] does not work

Metadata

Metadata

Assignees

Labels

BugIndexingRelated 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