import boto3 import pandas as pd import io client = boto3.client('s3' , aws_access_key_id = '키입력' , aws_secret_access_key = '키입력' ) # client.list_objects(Bucket='버킷명') bucket = '버킷명' obj = client.get_object(Bucket = bucket, Key = '폴더/파일명.csv') df = pd.read_csv(io.BytesIO(obj['Body'].read())