title: TypeError: 'DataFrameWriter' object is not callable
body: <p>I'm trying to save a data frame to object storage:</p>
  
  <pre><code>print(type(saveDF))
  &lt;class 'pyspark.sql.dataframe.DataFrame'&gt;
  </code></pre>
  
  <p>Then:</p>
  
  <pre><code>saveDF.write().option("header", "true").csv("pre-processed")
  </code></pre>
  
  <p>Results in:</p>
  
  <pre><code>TypeErrorTraceback (most recent call last)
  &lt;ipython-input-90-d20d6b31a2d4&gt; in &lt;module&gt;()
        1 ----&gt; saveDF.write().csv("pre-processed")
  
  TypeError: 'DataFrameWriter' object is not callable
  </code></pre>
  
  <p>I've seen a number of other questions with this problem, but the questions are using a different approach to saving as a csv.</p>