title: pyspark writing csv file to S3 error
body: <p>I am using pyspark and I am having trouble writing to S3, but reading from S3 is not a problem.</p>
  
  <p>this is my code:</p>
  
  <pre><code>dic = {'a': {'c1(%)': 0.0, 'c2': 0, 'c3($)': 260, 'c4(%)': 4.79, 'c5': 78, 'c6': 352}, 'b': {'c1(%)': 0.0, 'c2': 0, 'c3($)': 5, 'c4(%)': 0.09, 'c5': 2, 'c6': 280}, 'c': {'c1(%)': 0.0, 'c2': 0, 'c3($)': 0, 'c4(%)': 0.0, 'c5': 0, 'c6': 267}}
  
  df = pd.DataFrame(dic)
  
  df.to_csv("s3://work/.../filename_2018-01-04_08:50:45.csv")
  </code></pre>
  
  <p>this is the error:</p>
  
  <pre><code>IOError: [Errno 2] No such file or directory: 's3://work/.../filename_2018-01-04_08:50:45.csv'
  </code></pre>
  
  <p>what is the problem?</p>