BUG: groupby-nth failure · Issue #7559 · pandas-dev/pandas (original) (raw)

@jreback

Description

@jreback

jreback

opened

on Jun 24, 2014

This is a vbench/groupby.py

In [1]: df = DataFrame(np.random.randint(1, 100, (10000, 2)))

In [2]: df[1].groupby(df[0]).nth(0)
IndexError: index 9999 is out of bounds for size 9999

Metadata

Metadata

Assignees

No one assigned

Labels

BugGroupby

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions