title: How can I remove emojis from a dataframe?
body: <p>I know that </p>
  
  <pre class="lang-py prettyprint-override"><code>test = []
  for item in my_texts:
      test.append(item.encode('ascii', 'ignore').decode('ascii'))
  </code></pre>
  
  <p>removes emojis from a list. But how can I remove emojis from a dataframe? When I try </p>
  
  <pre class="lang-py prettyprint-override"><code>a = []
  for item in goldtest['Text']:
      a.append(item.encode('ascii', 'ignore').decode('ascii'))
  </code></pre>
  
  <p>I get only the last entry of goldtest. When I try the code on the whole dataframe, I get ''AttributeError: 'DataFrame' object has no attribute 'encode'''</p>