BUG: groupby-nth failure · Issue #7559 · pandas-dev/pandas (original) (raw)
Description
opened
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
Type
No type
Projects
No projects
Milestone
Relationships
None yet
Development
No branches or pull requests