Skip to content

Instantly share code, notes, and snippets.

@toyeiei
Last active November 12, 2018 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toyeiei/de5d10b0fb7e7f89b8ca093ec570074d to your computer and use it in GitHub Desktop.
Save toyeiei/de5d10b0fb7e7f89b8ca093ec570074d to your computer and use it in GitHub Desktop.
Upload data to google colab
# import files module
from google.colab import files
uploaded = files.upload()
# you will see the filename.csv on google colab
# copy and paste it in function open()
f = open("US_births_1994-2003_CDC_NCHS.csv", "r")
data = f.read()
f.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment