Connecting Kaggle To Google Colab

[Solved] Connecting Kaggle To Google Colab | Go - Code Explorer | yomemimo.com
Question : Connecting Kaggle to Google Colab

Answered by : nilotpal-choudhury

! pip install kaggle # Install the Kaggle library
! mkdir ~/.kaggle # Make a directory named “.kaggle”
! cp kaggle.json ~/.kaggle/ # Copy the “kaggle.json” into this new directory
! chmod 600 ~/.kaggle/kaggle.json # Allocate the required permission for this file.
! kaggle competitions download <name-of-competition> # Downloading Competitions dataset
! kaggle datasets download <name-of-dataset> # Downloading Datasets

Source : https://www.analyticsvidhya.com/blog/2021/06/how-to-load-kaggle-datasets-directly-into-google-colab/ | Last Update : Sun, 31 Oct 21

Answers related to connecting kaggle to google colab

Code Explorer Popular Question For Go