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
groupy(level=[0]) doesn't work on a unique index. I guess it is semantics whether one allows not only level=0, but also level=[0], but if not, the error message should be different:
df = pd.DataFrame(np.arange(0,9).reshape(3,3))
df.groupby(level=[0])
ValueError: level > 0 only valid with MultiIndex
The text was updated successfully, but these errors were encountered:
groupy(level=[0])
doesn't work on a unique index. I guess it is semantics whether one allows not only level=0, but also level=[0], but if not, the error message should be different:The text was updated successfully, but these errors were encountered: