https://dfarq.homeip.net/make-a-simple-pivot-table-in-python/
Make a simple pivot table in Python