Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
Source by www.analyticsvidhya.com #
 
PREVIOUS NEXT
Tagged: #Connecting #Kaggle #Google #Colab
ADD COMMENT
Topic
Name
9+4 =