I have a pandas DataFrame that I want to upload to a new CSV file. The problem is that I don\'t want to save the file locally before transferring it to s3. Is there any meth
You can also use the AWS Data Wrangler:
import awswrangler as wr wr.s3.to_csv( df=df, path="s3://...", )
Note that it will handle multipart upload for you to make the upload faster.