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
This is a new issue affecting 0.17
The text was updated successfully, but these errors were encountered:
quantchen
changed the title
rasie ValueError in DataFrame.groupby.apply when index is duplicated
raise ValueError in DataFrame.groupby.apply when index is duplicated
Dec 10, 2015
Exception is raised when the index is duplicated
Fro example:
This is a new issue affecting 0.17
The text was updated successfully, but these errors were encountered: