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
The following snippet shows how a MultiIndex DataFrame (df) may be grouped by a combination of a column (B) and a named index level (inner) using a Grouper object.
Referenced in #5677
Example
The following snippet shows how a MultiIndex DataFrame (
df
) may be grouped by a combination of a column (B
) and a named index level (inner
) using aGrouper
object.However, when the DataFrame (
df2
) has only a single index level anAttributeError
is thrownExpected Output
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: