title: Fasttext how to load a .csv column into model.predict
body: <p>I am new to python and NLP.</p>
  
  <p>I have followed this tutorial (<a href="https://fasttext.cc/docs/en/supervised-tutorial.html" rel="nofollow noreferrer">https://fasttext.cc/docs/en/supervised-tutorial.html</a>) to train my fasttxt supervised model in Python.</p>
  
  <p>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.</p>
  
  <pre><code>model.predict("Which baking dish is best to bake a banana bread ?", k=-1, threshold=0.5)
  </code></pre>
  
  <p>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. </p>
  
  <p>I would appropriate any help or maybe a tutorial I could follow.</p>
  
  <p>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'"</p>