题目是这样的
数据集master2是一个78行15列的dataframe,这里是head(10)的结果
master2["COMPANY"].value_counts().plot.hist()
print(master2["COMPANY"].value_counts())
plot.title('number of cereals produced by each company')
plot.xlabel('Number of cereals')
plot.ylabel('Counts')
上面是我的代码