title: UnicodeDecodeError: with apply function in column for each row
body: <p>I have a dataframe and I want to encode each word in my column by using <code>soundex</code>, so I have to use split because <code>Soundex</code> take only the first word</p>
  <p>then I apply this line of code but I got this error:</p>
  <pre><code>table['soundex'] = table['name'].apply(lambda x:' '.join([jellyfish.soundex(i) for i in x.split()]))
  
  UnicodeDecodeError: 'utf-8' codec can't decode byte 0xce in position 0: invalid continuation byte
  </code></pre>
  <p>and when I tried to apply it in other columns it works and they all same data type</p>
  <p>my data source is a database and I have create a name column through cleansing steps
  I mean it is not original from the data source.</p>
  <p>most of the solutions with UnicodeDecodeError coming with read CSV files and in my case I do not know what causes this error</p>
  <p>random sample of data and expected output:</p>
  <pre><code>name                       soundex
  hospital food              H213 F300
  good after noon            G300 A136 N500
  hi                         h000
  </code></pre>
  <p>any help?</p>