# Skip to here if you already have setup your environment variables # File parameters s3_file = 's3://bucket-name/path/to/file/titanic.csv' # Import example file df = pd.read_csv('https://raw.githubusercontent.com/datasciencedojo/datasets/master/titanic.csv') ##### Write file ##### df.to_csv(s3_file) ##### Read file ##### df_s3 = pd.read_csv(s3_file)
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