title: Get the first three column of a pyspark RDD row
body: <p>I have a source data set which the data is in .dat format. the sample data will be like this</p>
  
  <p>1::Toy Story (1995)::Animation|Children's|Comedy<br>
  2::Jumanji (1995)::Adventure|Children's|Fantasy<br>
  3::Grumpier Old Men (1995)::Comedy|Romance<br>
  4::Waiting to Exhale (1995)::Comedy|Drama<br>
  5::Father of the Bride Part II (1995)::Comedy<br>
  6::Heat (1995)::Action|Crime|Thriller</p>
  
  <p>I created rdd of this and i split it by ("::"). I need to pull out a new rdd from it which contain only first two rows. like below</p>
  
  <p>1   Toy Story (1995)<br>
  2   Jumanji (1995)<br>
  3   Grumpier Old Men (1995)<br>
  4   Waiting to Exhale (1995)<br>
  5   Father of the Bride Part II (1995)<br>
  6   Heat (1995)</p>
  
  <p>please suggest me  way to do this</p>