<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Loading data files from Amazon S3
You can load data files from Amazon S3 storage.
Prerequisites
Collect your Amazon S3 connection information
Step1:  Configure Amazon S3 connectivity
Customize this cell with your S3 connection information
Step2:  Load CSV data
Load csv file from Amazon S3 into a Spark DataFrame.
Step3:  Explore the loaded data using PixieDust
<ASSISTANT_TASK:>
Python Code:
import pixiedust
pixiedust.enableJobMonitor()
Explanation: Loading data files from Amazon S3
You can load data files from Amazon S3 storage.
Prerequisites
Collect your Amazon S3 connection information: 
access key
secret key
bucket name 
file name
Import PixieDust and enable the Spark Job monitor
End of explanation
# @hidden_cell
# Enter your S3 access key (e.g. 'A....K')
s3_access_key = '...'
# Enter your S3 secret key (e.g. 'S....K')
s3_secret_key = '...'
# Enter your S3 bucket name (e.g. 'my-source-bucket')
s3_bucket = '...'
# Enter your csv file name (e.g. 'my-data/my-file.csv' if _my-file_ is located in folder _my-data_)
s3_file_name = '....csv'
Explanation: Configure Amazon S3 connectivity
Customize this cell with your S3 connection information
End of explanation
# no changes are required to this cell
from ingest import Connectors
from pyspark.sql import SQLContext
sqlContext = SQLContext(sc)
S3loadoptions = { 
                  Connectors.AmazonS3.ACCESS_KEY          : s3_access_key,
                  Connectors.AmazonS3.SECRET_KEY          : s3_secret_key,
                  Connectors.AmazonS3.SOURCE_BUCKET       : s3_bucket,
                  Connectors.AmazonS3.SOURCE_FILE_NAME    : s3_file_name,
                  Connectors.AmazonS3.SOURCE_INFER_SCHEMA : '1',
                  Connectors.AmazonS3.SOURCE_FILE_FORMAT  : 'csv'}
S3_data = sqlContext.read.format('com.ibm.spark.discover').options(**S3loadoptions).load()
Explanation: Load CSV data
Load csv file from Amazon S3 into a Spark DataFrame.
End of explanation
display(S3_data)
Explanation: Explore the loaded data using PixieDust
End of explanation
<END_TASK>