Google Colab Beginner

Google Colab Beginner

Google Colab Beginner


We can open Colab here : https://colab.research.google.com/

After opening the first thing we want to do will be importing data:

Data from Google Drive to Colab:

  • Mounting Google Drive :
    from google.colab import drive
    drive.mount('/gdrive')
    

Data / Code from Git repositories to Colab:

!git clone [git-repo-url]

Data from Kaggle to Colab:

!pip install kaggle
!kaggle competitions download [competition-name]

for more : https://github.com/Kaggle/kaggle-api

Data from Internet / Web to Colab:

!wget [web-url]

Data from local computer:

from google.colab import files
uploaded = files.upload()

Comments