I have a group of plots that I want to display as subplots. I can add most of them but I\'m struggling to add a particular one. For the code below I ca
plots
subplots
You are almost there. Simply the bracket of the last part of your code is misplaced.
Try:
df.assign(A=df.A.astype(int)).pivot_table(index="C", columns="B", values="A",aggfunc='count').rename_axis(None).rename_axis(None,1).plot(kind='bar', ax=ax2)