title: convert pandas dataframe to utf8
body: <p>How to convert pandas dataframe to unicode?</p>
  
  <pre><code>`messages=pandas.read_csv('data/SMSSpamCollection',sep='\t',quoting=csv.QUOTE_NONE,names=["label", "message"])
  def split_into_tokens(message):
    message = unicode(message, 'utf8')  # convert bytes into proper unicode
    return TextBlob(message).words
  
  
  messages.head().apply(split_into_tokens(messages))`
  </code></pre>
  
  <p>It gives error </p>
  
  <pre><code>Traceback (most recent call last):
  File "minor.py", line 46, in &lt;module&gt;
  messages.head().apply(split_into_tokens(messages))
  File "minor.py", line 42, in split_into_tokens
  message = unicode(message, 'utf8')  # convert bytes into proper unicode
  TypeError: coercing to Unicode: need string or buffer, DataFrame found
  </code></pre>