Seaborn不工作的相对频率

时间:2019-06-20 18:15:56

标签: python-3.x histogram seaborn frequency

我正在尝试获得以下学校的相对频率..数据集是画家..

sns.distplot(painters['School'], kde=False, norm_hist=True)

我得到了他的错误:

  

TypeError:/的不支持的操作数类型:“ str”和“ int”

我尝试了hist函数,但似乎它不再是matplotlib的一部分

sns.distplot(painters['School'], kde=False, norm_hist=True)

0 个答案:

没有答案