title: Get CSV to Spark dataframe
body: <p>I'm using python on Spark and would like to get a csv into a dataframe.</p>
  
  <p>The <a href="https://spark.apache.org/docs/latest/sql-programming-guide.html#data-sources">documentation</a> for Spark SQL strangely does not provide explanations for CSV as a source.</p>
  
  <p>I have found <a href="https://github.com/databricks/spark-csv">Spark-CSV</a>, however I have issues with two parts of the documentation:</p>
  
  <ul>
  <li><p><code>"This package can be added to Spark using the --jars command line option. For example, to include it when starting the spark shell: $ bin/spark-shell --packages com.databricks:spark-csv_2.10:1.0.3"</code>
  Do I really need to add this argument everytime I launch pyspark or spark-submit? It seems very inelegant. Isn't there a way to import it in python rather than redownloading it each time?</p></li>
  <li><p><code>df = sqlContext.load(source="com.databricks.spark.csv", header="true", path = "cars.csv")</code> Even if I do the above, this won't work. What does the "source" argument stand for in this line of code? How do I simply load a local file on linux, say "/Spark_Hadoop/spark-1.3.1-bin-cdh4/cars.csv"?</p></li>
  </ul>