title: TypeError: expected string or bytes-like object Tqdm
body: <p>I have gone through several sources in stackoverflow regarding this issue, but couldn't resolve it.
  Thus I have posted it here, kindly resolve.</p>
  
  <pre><code># Combining all the above statemennts 
  from tqdm import tqdm
  Other_skill = []
  # tqdm is for printing the status bar
  for sentance in tqdm(project_data['Other skills'].values):
      sent = decontracted(sentance)
      sent = sent.replace('\\r', ' ')
      sent = sent.replace('\\"', ' ')
      sent = sent.replace('\\n', ' ')
      sent = re.sub('[^A-Za-z0-9]+', ' ', sent)
      sent = ' '.join(e for e in sent.split() if e not in stopwords)
      Other_skill.append(sent.lower().strip())
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-12-30687b6f17e1&gt; in &lt;module&gt;()
        4 # tqdm is for printing the status bar
        5 for sentance in tqdm(project_data['Other skills'].values):
  ----&gt; 6     sent = decontracted(sentance)
        7     sent = sent.replace('\\r', ' ')
        8     sent = sent.replace('\\"', ' ')
  
  &lt;ipython-input-7-a344e4b38b78&gt; in decontracted(phrase)
        4 def decontracted(phrase):
        5     # specific
  ----&gt; 6     phrase = re.sub(r"won't", "will not", phrase)
        7     phrase = re.sub(r"can\'t", "can not", phrase)
        8 
  
  C:\ProgramData\Anaconda3\lib\re.py in sub(pattern, repl, string, count, flags)
      189     a callable, it's passed the match object and must return
      190     a replacement string to be used."""
  --&gt; 191     return _compile(pattern, flags).sub(repl, string, count)
      192 
      193 def subn(pattern, repl, string, count=0, flags=0):
  
  TypeError: expected string or bytes-like object
  </code></pre>