Spark RDD to DataFrame python
<p>I am trying to convert the Spark RDD to a DataFrame. I have seen the documentation and example where the scheme is passed to 
<code>sqlContext.CreateDataFrame(rdd,schema)</code> function. </p>

<p>But I have 38 columns or fields and this will increase further. If I manually give the schema specifying each field information, that it going to be so tedious job.</p>

<p>Is there any other way to specify the schema without knowing the information of the columns prior.</p>