title: SQLContext object has no attribute read while reading csv in pyspark
body: <p>I am loading a csv file into pyspark as follows (within pyspark shell): </p>
  
  <pre><code>&gt;&gt;&gt; from pyspark.sql import SQLContext
  &gt;&gt;&gt; sqlContext = SQLContext(sc)
  &gt;&gt;&gt; df = sqlContext.read.format('com.databricks.spark.csv').options(header='true').load('data.csv')
  </code></pre>
  
  <p>but I am getting this error: </p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'SQLContext' object has no attribute 'read'
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>I am using spark 1.3.1 and I am trying to use <a href="https://github.com/databricks/spark-csv" rel="nofollow noreferrer">spark-csv</a></p>