title: How to export a table dataframe in PySpark to csv?
body: <p>I am using Spark 1.3.1 (PySpark) and I have generated a table using a SQL query. I now have an object that is a <code>DataFrame</code>. I want to export this <code>DataFrame</code> object (I have called it "table") to a csv file so I can manipulate it and plot the columns. How do I export the <code>DataFrame</code> "table" to a csv file?</p>
  
  <p>Thanks!</p>