Using Seaborn: lmplot's

120 Views Asked by At

I am trying to create a lmplot using these variables

The code is supposed to create subplots based of the manuf column

This is my current code and the error I am getting:

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'

Any advice on how to fix this would be greatly appreciated, thanks!!

Here are the first 10 rows just to show the data I am working with

enter image description here

In response to a comment: enter image description here enter image description here

0

There are 0 best solutions below