title: SCALA : Read the text file and create tuple of it
body: <p>How to create a tuple from the below-existing RDD?</p>
  
  <pre><code>// reading a text file "b.txt" and creating RDD 
  val rdd = sc.textFile("/home/training/desktop/b.txt") 
  </code></pre>
  
  <p>b.txt dataset --></p>
  
  <pre><code> Ankita,26,BigData,newbie
   Shikha,30,Management,Expert
  </code></pre>