First let me describe the Excel PivotChart I am trying to reproduce with Python.
Here is the code to generate a sample dataset:
# The code should work