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)
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)