I have already read through the answers available here and here and these do not help.
I am trying to read a csv object from S3 bucket and have
csv
S3
Maybe you can try to use pandas read_sql and pyathena:
from pyathena import connect import pandas as pd conn = connect(s3_staging_dir='s3://bucket/folder',region_name='region') df = pd.read_sql('select * from database.table', conn)