π Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.Start 7-day trial β
β CoursesβΊData Science AppliedβΊModule 1 Β· Python for Data Β· RecapβΊpandas MultiIndex (hierarchical indexing)quiz27 / 104
+100 XP
Task
π **Question:** After `df.groupby(['region', 'product'])['amount'].sum()`, how do you turn the inner 'product' level into columns?
π Pick the right answer.
π‘ **Hint:** Re-read the theory above if unsure.
π― Quiz
Question
π **Question:** After `df.groupby(['region', 'product'])['amount'].sum()`, how do you turn the inner 'product' level into columns?
π Pick the right answer.
π‘ **Hint:** Re-read the theory above if unsure.