title: convert from string to pandas dataframe
body: <p>I'm importing a csv file from AWS S3 in AWS Lambdawith below code:</p>
  
  <pre><code>file = s3.get_object(Bucket = bucket, Key = key)
  rows = file['Body'].read().decode('utf-8').splitlines(False)
  </code></pre>
  
  <p>I'm getting input in below format :</p>
  
  <p><strong>data = "a,b,c,d,\"x,y\",e,f"</strong></p>
  
  <p>and I want output in below format:</p>
  
  <pre><code>&gt;&gt;&gt;`&gt;&gt;&gt; df
     0  1  2  3    4  5  6
  0  a  b  c  d  x,y  e  f`
  </code></pre>
  
  <p>i have to split data based on ',' but if some thong is between " " they should remain as it is.</p>
  
  <p><strong>Or if you have any other solution for import csv file from s3 to lambda and converting in Data Frame, Please suggest</strong></p>