I was doing Lemmatisation but I got the above error. I think it's because my data isn't in string form, is that correct? If so, which part of my data isn't in string form?

Image of code for Lemmatisation Image of error code for Lemmatisation

This is my data source: https://www.kaggle.com/c/fake-news/data


1 Answer 1


You are applying that function to a column in a panda's dataframe. Double check the datatype of the column:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.