0

I created a pivot table with days of the week as columns, and I want to order the columns by day of week: Sunday, Monday, etc.

piv = reports.pivot_table(index='DayOfWeek',columns='Category',aggfunc='size',fill_value=0)

returns this table.

How do I go about this?

bco
  • 1
  • 2

0 Answers0