You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
df = pd.DataFrame([['a',1],['b',1],['a',2],['b',2]],columns=['c1','c2'], index=list('ccdd'))
df.groupby('c1').apply(lambda x:x)
raise ValueError("cannot reindex from a duplicate axis")
ValueError: cannot reindex from a duplicate axis