Skip to content

Instantly share code, notes, and snippets.

@nafeesb
nafeesb / upload_and_read_colaboratory.py
Created March 13, 2018 07:22 — forked from sagarhowal/upload_and_read_colaboratory.py
Upload Dataset on Google Colaboratory.
#Uploading the Dataset
from google.colab import files
uploaded = files.upload()
#Save uploaded file on the Virtual Machine's
#Thanks to user3800642 from StackOverflow
with open("breast_cancer.csv", 'w') as f:
f.write(uploaded[uploaded.keys()[0]])