title: How to convert PySpark pipeline rdd (tuple inside tuple) into Data Frame?
body: <p>I have a  PySpark pipeline RDD like bellow </p>
  
  <pre><code>(1,([1,2,3,4],[5,3,4,5])
  (2,([1,2,4,5],[4,5,6,7])
  </code></pre>
  
  <p>I want to generate Data Frame like below:</p>
  
  <pre class="lang-none prettyprint-override"><code>Id  sid  cid
  1   1   5
  1   2   3   
  1   3   4
  1   4   5
  2   1   4
  2   2   5
  2   4   6
  2   5   7
  </code></pre>
  
  <p>Please help me on this.</p>