title: Get second word from string in pandas column
body: <p>I need to get the second word of a sentence stored in a pandas column. I can easily get the first word with the following line:</p>
  
  <pre><code>df['First'] = df['Sentence'].astype(str).apply(lambda x: x.split()[0])
  </code></pre>
  
  <p>then why in the world trying to get the second word this way fails:</p>
  
  <pre><code>df['Second'] = df['Sentence'].astype(str).apply(lambda x: x.split()[1])
  </code></pre>
  
  <p>giving me </p>
  
  <pre><code>IndexError: list index out of range
  </code></pre>