This tells pandas to build a pivot table, using the "region" column as the index, and the small, large, and "extra large" ...
Physics and Python stuff. Most of the videos here are either adapted from class lectures or solving physics problems. I really like to use numerical calculations without all the fancy programming ...