December 2018
Beginner to intermediate
682 pages
18h 1m
English
When grouping or aggregating with multiple columns, the resulting pandas object will have multiple levels in one or both of the axes. In this recipe, we will name each level of each axis and then use the methods stack/unstack to dramatically reshape the data to the desired form.
Read now
Unlock full access