title: PySpark: create dataframe from random uniform disribution
body: <p>I am trying to create a dataframe using random uniform distribution in Spark. I couldn't find anything on how to create a dataframe but when I read the documentation I found that <code>pyspark.mllib.random</code> has a <code>RandomRDDs</code> object which has a <code>uniformRDD</code> method which can create rdds from random uniform distribution.</p>
  
  <p>But the problem is that it doesn't create two dimensional rdds. Is there a way I can create a two-dimensional rdd or (preferably) dataframe?</p>
  
  <p>I can create a few rdds and use them to create a dataframe but the dataset I am using has many fields(100+) and creating 100s of rdds and then zipping them doesn't seem efficient.</p>