title: Split column into two new columns in Pandas
body: <p>I have a dataframe with 4 columns with value like this:</p>
  
  <pre><code>value_1
  over 1 - 42 -&gt; take this ; over 3 - 4
  over 3 - 26 -&gt; take this ; over 3 - 45 
  over 5 - 25 -&gt; take this ; over 2 - 80 
  </code></pre>
  
  <p>And I need to make two column from each of them by splitting by ';'. 
  And when I try this:</p>
  
  <pre><code>s = df['value_1'].apply(lambda x: x.split(';'))
  df['value_left'] = s.apply(lambda x: x[0])
  df['value_right'] = s.apply(lambda x: x[1])
  </code></pre>
  
  <p>Or this:</p>
  
  <pre><code>f['new_value1'] = df['value_1']
  df['value_1_right'] = None
  df['value_1_right'].update(df.new_band_bandw_1.apply(lambda x: x.str.split(';')[1] 
                        if len(x.str.split()) == 2 else None))
  </code></pre>
  
  <p>I got the same <code>error: List index out of range</code>. What is the problem, is it possible that the values are in some kind of list? </p>
  
  <p>Any kind of solution is welcomed. Thanks</p>