October 2017
Intermediate to advanced
532 pages
16h 10m
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