I have a stacked bar, that look like this:
My code is:
single_capacity_g = single_capacity_g.pivot('Date', 'Customer', 'Size_GB')
single_capacity_g.plot.bar(stacked=True, rot=1, figsize=(15, 10),ax=ax,zorder=0)
Because of the pivot, the DF itself looks like this:
I tried so many examples already, but I am not quite sure how to access the values and to put them on the bar sections, because of the not-flat DF structure. The customer columns are dynamic, so can't call them by their names.
Thank you!