title: How to split a list to multiple columns in Pyspark?
body: <p>I have:</p>
  
  <pre><code>key   value
  a    [1,2,3]
  b    [2,3,4]
  </code></pre>
  
  <p>I want:</p>
  
  <pre><code>key value1 value2 value3
  a     1      2      3
  b     2      3      4
  </code></pre>
  
  <p>It seems that in scala I can write:<code>df.select($"value._1", $"value._2", $"value._3")</code>, but it is not possible in python.</p>
  
  <p>So is there a good way to do this?</p>