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