0

I have run a predictive model in Google Colab and saved the 'Submission.csv' file. Now I don't know how to locate the file on colab and upload it to the comp. site. Can anyone advice please and thank you.

The submission file was saved but I cannot locate it.

This was the line of code used to save the file in google colab:

sub.to_csv(f"./harvest_sample_submission.csv", index = False)

2 Answers2

0

You can use the following code to download the csv file to your computer from colab

from google.colab import files
files.download(f"./harvest_sample_submission.csv") 

Also, you can open left side bar with folder icon, and the csv file can be located their.

0

enter image description here

You can find your file on the side tab (find the figure).

DGKang
  • 172
  • 1
  • 13