📅  最后修改于: 2022-03-11 14:45:07.005000             🧑  作者: Mango
import io
import pandas as pd
s3 = boto3.client('s3')
obj = s3.get_object(Bucket='bucket_name', Key='key_name')
df = pd.read_excel(io.BytesIO(obj['Body'].read()))