title: How to assign and use column headers in Spark?
body: <p>I am reading a dataset as below.</p>
  
  <pre><code> f = sc.textFile("s3://test/abc.csv")
  </code></pre>
  
  <p>My file contains 50+ fields and I want assign column headers for each of fields to reference later in my script. </p>
  
  <p>How do I do that in PySpark ?  Is DataFrame way to go here ?</p>
  
  <p>PS -  Newbie to Spark. </p>