connect google drive to colab
from google.colab import drive drive.mount("/content/gdrive")
download from colab to local drive
from google.colab import files import pandas as pd result.to_csv('example_file.csv') files.download('example_file.csv')
Source: www.honchosearch.com
download google drive file colab
!gdown --id yourFileIdHere
Source: stackoverflow.com
download from colab to google drive
from google.colab import files import pandas as pd result.to_csv('example_file.csv') !cp example_file.csv "/content/drive/My Drive/"
Source: www.honchosearch.com