Answers for "Connecting Kaggle to Google Colab"

0

Connecting Kaggle to Google Colab

! 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
Posted by: Guest on October-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language