title: How to read multiple csv or json files from an S3 into a spark jason
body: <p>I can read a csv file <code>myexample.csv</code> which is in an s3 buket into spark dataframe.</p>
  
  <pre><code>df = spark.read.csv(s3n://mybucket/myexample.csv)
  </code></pre>
  
  <p>But how can I read all the csv files in the bucket , for example <em>myexample1.csv, 
   myexample2.csv, myexample.csv</em> which are in the same bucket s3://mybucket into a dataframe.</p>
  
  <p><code>df = spark.read.csv(s3n://mybucket/)</code>  ..This works?</p>