title: How to convert rdd object to dataframe in spark
body: <p>How can I convert an RDD (<code>org.apache.spark.rdd.RDD[org.apache.spark.sql.Row]</code>) to a Dataframe <code>org.apache.spark.sql.DataFrame</code>. I converted a dataframe to rdd using <code>.rdd</code>. After processing it I want it back in dataframe. How can I do this ?</p>