title: Making the for loop append on all the dataset
body: <p>I'm trying to make the for loop append on all the data set which is from the range of <code>(0,8675)</code> but it keeps getting error just working with 1 row </p>
  
  <pre class="lang-py prettyprint-override"><code>def convert_emoticons(text):
      for emot in EMOTICONS:
          text = re.sub(u'('+emot+')', "_".join(EMOTICONS[emot].replace(",","").split()), text)
      return text
  
  text = (dataset['posts'][0])
  convert_emoticons(text)
  </code></pre>