title: How to save a spark dataframe as a text file without Rows in pyspark?
body: <p>I have a dataframe "df" with the columns  ['name', 'age']
  I saved the dataframe using <code>df.rdd.saveAsTextFile("..")</code> to save it as an rdd. I loaded the saved file and then collect() gives me the following result.</p>
  
  <pre><code>a = sc.textFile("\mee\sample")
  a.collect()
  Output:
      [u"Row(name=u'Alice', age=1)",
       u"Row(name=u'Alice', age=2)",
       u"Row(name=u'Joe', age=3)"]
  </code></pre>
  
  <p>This is not an rdd of Rows. </p>
  
  <pre><code>a.map(lambda g:g.age).collect()
  AttributeError: 'unicode' object has no attribute 'age'
  </code></pre>
  
  <p>Is there any way to save the dataframe as a normal rdd without column names and Row keywords? 
  I want to save the dataframe so that on loading the file and collect should give me as follows:</p>
  
  <pre><code>a.collect()   
  [(Alice,1),(Alice,2),(Joe,3)]
  </code></pre>