How to export data frames which are created in google colab to your local machine?
I have cleaned a data set on google colab. Now I want to export the data frame to my local machine.
df.to_csv
is saving file to the virtual machine and not my local machine.
Try this
from google.colab import files
files.download("data.csv")
Update(Sep 2018): now it's even easier
Update (Jan 2020): the UI changes
folder icon
on the left pane (3rd icon)