title: Convert CSV to Parquet in S3 with Python
body: <p>I need convert a CSV file to Parquet file in S3 path. I'm trying use the code below, but no error occurs, the code execute with success and dont convert the CSV file</p>
  <pre><code>import pandas as pd
  import boto3
  import pyarrow as pa
  import pyarrow.parquet as pq
  
  s3 = boto3.client(&quot;s3&quot;, region_name='us-east-2', aws_access_key_id='my key id',
                    aws_secret_access_key='my secret key')
  
  obj = s3.get_object(Bucket='my bucket', Key='test.csv')
  df = pd.read_csv(obj['Body'])
  table = pa.Table.from_pandas(df)
  pq.write_to_dataset(table=table, root_path=&quot;test.parquet&quot;)
  </code></pre>