This tells pandas to build a pivot table, using the "region" column as the index, and the small, large, and "extra large" ...
I 'm a big fan of Python for data analysis, but even I get curious about what else is available. R has long been the go-to language for statistics, but the "Tidyverse" has given the language a serious ...