Skip to content
RED SAGSkills
medium10 pts · first answer countspythonpandasreshaping

Moving an index level to columns

s = df.groupby(["store", "month"])["sales"].sum() has a two-level index. What does s.unstack() do?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions