Seek your help to identify and eliminate error in the code.
Any help would be really appreciated. Thanks!
About the project: This code is an input to the Mystery Friend project, part of the Natural Language Processing, Bag of Words project.
There is an error in line 35, referred to other codes in the project as well, they seem to work with the same input.
Traceback (most recent call last):
File “script.py”, line 35, in
File “/usr/local/lib/python3.6/dist-packages/sklearn/feature_extraction/text.py”, line 860, in fit_transform
"Iterable over raw text documents expected, "
ValueError: Iterable over raw text documents expected, string object received.