title: Why does this dataframe from pandas not parse the sentence to the function
body: <p>I am trying to test the performance of the Lexicon-Analyzer from the nltk module to compare it with different models.</p>
  <p>I have the following csv which I put in a Pandas Dataframe, it looks as follows:</p>
  <pre><code>Sentiment   Text
  0   1   &quot;When will the suffering end?&quot;\r\nSubaru enjoy...
  1   1   ~This is a preliminary review. As of writing t...
  2   1   As of the time I'm writing this review I've on...
  3   0   Fine then. I'll be the first one to say it. Th...
  4   1   here are two responses I get, without fail, ev
  </code></pre>
  <p>Pandas Code:</p>
  <pre><code>   anime = pd.read_csv(&quot;Models/Benchmarks/AnimeReviews.csv&quot;, encoding=&quot;utf-8&quot;)
      anime.shape
      anime.dtypes
      anime.convert_dtypes().dtypes
      anime.dtypes
      x_anime = anime.iloc[:, 1]
      y_anime = anime.iloc[:,0]
      
  </code></pre>
  <p>sentiment is returned as int64 and the sentences as an object</p>
  <p>Using this, I want to create an array to save all the results to then use sklearn.metrics.accuracy_score to compare the results and get the accuracy.</p>
  <p>I did the following:</p>
  <pre><code>results = np.array(object)
  for sentence in x_anime:
      result = demo_liu_hu_lexicon(sentence)
      np.append(results, result)
  </code></pre>
  <p>If I do this, the array is shown as empty. I tried it with just one sentence (no for loop) and it saved the result in the array. That means the sentence doesn't get passed through to the analyzer to analyze it.</p>
  <p>How can I solve this?</p>