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