title: how to use python to iterate through a column with html text, remove the tags, and append clean text in a new column?
body: <p>I have a dataframe that has a column(s) with text that includes html tags. I would like to strip out all the html tags and leave just the clean text, which I want to append into a new columns. So far I was able to clean the text using the following code but I want do this for all rows and for multiple columns that include html tags:</p>
  <pre><code>from bs4 import BeautifulSoup
  from html import unescape
  soup = BeautifulSoup(unescape(html_text), 'lxml')
  text = soup.get_text(separator=' ')
  print(text)
  </code></pre>
  <p>Here is what my data table looks like:
  <a href="https://i.stack.imgur.com/0XKV5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0XKV5.png" alt="enter image description here" /></a></p>
  <p>This is what I would like to achieve:
  <a href="https://i.stack.imgur.com/zqiwA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zqiwA.png" alt="enter image description here" /></a></p>