title: Iterate through rows and create text for summarization model?
body: <p>I'm working with a dataframe that looks like this:
  <a href="https://i.stack.imgur.com/2ETF3.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I want to be able to iterate through the rows and have a new column called C that looks like
  <a href="https://i.stack.imgur.com/fOCQU.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>I keep getting several of the same text about 2 times in each row instead of just one.</p>
  <p>After that, I want to be able to run a summarization model from hugging face for each of the C values. For example</p>
  <p><a href="https://i.stack.imgur.com/fShrz.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>Each row has a summarization, the pipeline only takes strings and instead it's telling me it's in the wrong format.</p>
  <pre><code>`args[0]`: 0    happyugly1    sadprettyName: C, dtype: object have the wrong format. The should be either of type `str` or type `list`
  </code></pre>