Answers for "google colab file directory drive"

Go
0

get all files of a drive folder to google colab

from google.colab import drive
drive.mount('/content/drive/')
## Then

%cd /content/drive/My Drive/Colab Notebooks/
## After I can for example read csv files with

df = pd.read_csv("data_example.csv")
## If you have different locations for the files just add the correct path after My Drive
Posted by: Guest on April-13-2022
0

download google drive file colab

!gdown --id yourFileIdHere
Posted by: Guest on October-30-2020

Browse Popular Code Answers by Language