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