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