BUG: groupby-nth failure (original) (raw)

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