How to convert Spark RDD to pandas dataframe in ipython?
<p>I have a <code>RDD</code> and I want to convert it to <code>pandas</code> <code>dataframe</code>. I know that to convert and <code>RDD</code> to a normal <code>dataframe</code> we can do</p>

<pre><code>df = rdd1.toDF()
</code></pre>

<p>But I want to convert the <code>RDD</code> to <code>pandas</code> <code>dataframe</code> and not a normal <code>dataframe</code>. How can I do it?</p>