import boto3 import pandas as pd from sagemaker import get_execution_role role = get_execution_role() bucket='my-bucket' data_key = 'train.csv' data_location = 's3://{}/{}'.format(bucket, data_key) pd.read_csv(data_location)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter