Answers for "boto3 read excel file from s3 into pandas"

0

boto3 read excel file from s3 into pandas

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()))
Posted by: Guest on January-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language