Exercise diabetes question issue

I am working on the diabetes data project where I have to replace a string with a int64. I tried this:

print(diabetes_data[‘Outcome’].unique())

diabetes_data[‘Outcome’] = diabetes_data[‘Outcome’].astype(‘int64’)

and got an error. How do I resolve this? Why am I getting an error?

What’s the error message? Are there NAN values in that column? What data is in that column, “Outcome”?

Do you have a link to the lesson/project?