Skip to content

BUG: groupby-nth failure #7559

Closed
Closed
@jreback

Description

@jreback

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions