I connected DAX Studio to a published Power BI semantic model, turned on Server Timings and ran a DAX query. When the query finished I clicked the Info button at the top of the Server Timings pane, ...
This tells pandas to build a pivot table, using the "region" column as the index, and the small, large, and "extra large" ...