title: How to create a pyspark dataframe from multiple lists
body: <p>I would like to convert two lists to a pyspark data frame, where the lists are respective columns.</p>
  
  <p>I tried </p>
  
  <pre><code>a=[1, 2, 3, 4]
  b=[2, 3, 4, 5]
  sqlContext.createDataFrame([a, b], schema=['a', 'b']).show()
  </code></pre>
  
  <p>But I got </p>
  
  <pre><code>+---+---+---+---+                                                               
  |  a|  b| _3| _4|
  +---+---+---+---+
  |  1|  2|  3|  4|
  |  2|  3|  4|  5|
  +---+---+---+---+
  </code></pre>
  
  <p>What I really want is this:</p>
  
  <pre><code>+---+---+                                                              
  |  a|  b|
  +---+---+
  |  1|  2|
  |  2|  3|
  |  3|  4|
  |  4|  5|
  +---+---+
  </code></pre>
  
  <p>Is there a convenient way to create this result?</p>