python groupby plot histogram code example Example: pandas groupby histogram # pandas hostogram on group by df['N'].hist(by=df['Letter'])