Skip to main content
deleted 2 characters in body
Source Link
Ethan
  • 1.7k
  • 9
  • 24
  • 39

Try converting your dataframe to integer values since its dtype('float64') that'sdtype('float64') is throwing the error. Assuming your dataframe is called df, use this:

 df["column_8"] = pd.to_numeric(df["column_8"])

This will convert all values in that column to integers.

Try converting your dataframe to integer values since its dtype('float64') that's throwing the error. Assuming your dataframe is called df, use this:

 df["column_8"] = pd.to_numeric(df["column_8"])

This will convert all values in that column to integers.

Try converting your dataframe to integer values since its dtype('float64') is throwing the error. Assuming your dataframe is called df, use this:

 df["column_8"] = pd.to_numeric(df["column_8"])

This will convert all values in that column to integers.

Source Link

Try converting your dataframe to integer values since its dtype('float64') that's throwing the error. Assuming your dataframe is called df, use this:

 df["column_8"] = pd.to_numeric(df["column_8"])

This will convert all values in that column to integers.