I am trying to shuffle rows in a dataframe in-place and reset the index using
df = df.sample(frac=-1).reset_index(drop=True)
But when I do that it tel