title: S3 Select CSV Headers
body: <p>I am using S3 Select to read csv file from S3 Bucket and outputting as CSV. In the output I only see rows, but not headers. How do I get output with headers included.</p>
  
  <pre><code>import boto3
  
  s3 = boto3.client('s3')
  
  r = s3.select_object_content(
          Bucket='demo_bucket',
          Key='demo.csv',
          ExpressionType='SQL',
          Expression="select * from s3object s",
          InputSerialization={'CSV': {"FileHeaderInfo": "Use"}},
          OutputSerialization={'CSV': {}},
  )
  
  for event in r['Payload']:
      if 'Records' in event:
          records = event['Records']['Payload'].decode('utf-8')
          print(records)
  </code></pre>
  
  <p>CSV</p>
  
  <pre><code>Name, Age, Status
  Rob, 25, Single
  Sam, 26, Married
  </code></pre>
  
  <p>Output from s3select</p>
  
  <pre><code>Rob, 25, Single
  Sam, 26, Married
  </code></pre>