Python 使用Seaborn:lmplot';s

Python 使用Seaborn:lmplot';s,python,python-3.x,seaborn,lmplot,Python,Python 3.x,Seaborn,Lmplot,我正在尝试使用这些变量创建lmplot 代码应该基于manuf列创建子图 这是我的当前代码和错误: sns.lmplot(x="Carbo", y="Sugars", col='Manuf',data=cereals_data3) TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe' 如果您有任何关于如何解决此问题的建议,我们将不胜感激,谢谢 这

我正在尝试使用这些变量创建lmplot

代码应该基于manuf列创建子图

这是我的当前代码和错误:

sns.lmplot(x="Carbo", y="Sugars", col='Manuf',data=cereals_data3)

TypeError: Cannot cast array data from dtype('int64') to dtype('int32') according to the rule 'safe'
如果您有任何关于如何解决此问题的建议,我们将不胜感激,谢谢

这里是前10行,只是为了显示我正在处理的数据

针对一项评论: