title: Convert a standard python key value dictionary list to pyspark data frame
body: <p>Consider i have a list of python dictionary key value pairs , where key correspond to column name of a table, so for below list how to convert it into a pyspark dataframe with two cols arg1 arg2?</p>
  
  <pre><code> [{"arg1": "", "arg2": ""},{"arg1": "", "arg2": ""},{"arg1": "", "arg2": ""}]
  </code></pre>
  
  <p>How can i use the following construct to do it?</p>
  
  <pre><code>df = sc.parallelize([
      ...
  ]).toDF
  </code></pre>
  
  <p>Where to place arg1 arg2 in the above code (...)</p>