I am new to python and NLP.
I have followed this tutorial (https://fasttext.cc/docs/en/supervised-tutorial.html) to train my fasttxt supervised model in Python.
I have a csv with Text column and I would like to predict labels to ever row from the file. My question is how can I load (transform) the csv column in the predict input and save the label.
model.predict("Which baking dish is best to bake a banana bread ?", k=-1, threshold=0.5)
instead of this ( the text in ""Which baking....") I would like to load row by row and save the label preferably in the new column in same csv.
I would appropriate any help or maybe a tutorial I could follow.
So far I have tried to convert the column in to to list with pandas and numpy array but both came back with "AttributeError: 'function' object has no attribute 'find'"