boxplot groupby pandas code example Example: boxplot groupby pandas boxplot = df.boxplot(column=['C1', 'C2'], by=['X', 'Y'])