Reading multiple csv files from S3 bucket with boto3
问题 I need to read multiple csv files from S3 bucket with boto3 in python and finally combine those files in single dataframe in pandas. I am able to read single file from following script in python s3 = boto3.resource('s3') bucket = s3.Bucket('test-bucket') for obj in bucket.objects.all(): key = obj.key body = obj.get()['Body'].read() Following is my path files/splittedfiles/Code-345678 In Code-345678 I have multiple csv files which I have to read and combine it to single dataframe in pandas