title: 'IndexError: list index out of range' when I used python split to string include Chinese
body: <p>I have a problem when I used split() to a dataframe.<br>
  My python is python3.6.<br>
  My code is:</p>
  
  <pre><code>data = pd.DataFrame({'a':[1,2], 'b':['高 1', '中 2']})
  print(data)
  data['c'] = [x.split()[2] for x in data['b']]
  # data['c'] = list(map(lambda x: x.split()[2], data['b']))
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>---------------------------------------------------------------------------
  IndexError                                Traceback (most recent call last)
  &lt;ipython-input-42-1d9b75c9fa9f&gt; in &lt;module&gt;()
        1 data = pd.DataFrame({'a':[1,2], 'b':['高 1', '中 2']})
        2 print(data)
  ----&gt; 3 data['c'] = [x.split()[2] for x in data['b']]
  
  &lt;ipython-input-42-1d9b75c9fa9f&gt; in &lt;listcomp&gt;(.0)
        1 data = pd.DataFrame({'a':[1,2], 'b':['高 1', '中 2']})
        2 print(data)
  ----&gt; 3 data['c'] = [x.split()[2] for x in data['b']]
  
  IndexError: list index out of range
  </code></pre>
  
  <p>and I used <code>data['c'] = list(map(lambda x: x.split()[2], data['b']))</code> , I got the same error <code>IndexError: list index out of range</code><br>
  How to solve this? I want to get the number, Thanks.</p>
  
  <pre><code>###############################################################################
  </code></pre>
  
  <p>Thanks to @U9-Forward. I tried use it for my test and it worked.<br>
  But when I used to <a href="https://www.kaggle.com/ruiqurm/lianjia" rel="nofollow noreferrer">kaggle test</a>. The floor attribute still return the same error. I can only get the value '高': <code>df['floor'].apply(lambda x: x.split()[0])</code>. I am confused! Is there any reason about codec? I used <code>pd,read_csv(data,'gbk')</code></p>