Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas read s3 object in jupyter notebook

import s3fs

# csv file
df = pd.read_csv('s3://{bucket_name}/{path_to_file}')

# parquet file
df = pd.read_parquet('s3://{bucket_name}/{path_to_file}')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pandas #read #object #jupyter #notebook
ADD COMMENT
Topic
Name
3+4 =