Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Setting up Colab for Kaggle Downloads

! pip install kaggle #  Install the Kaggle library
! mkdir ~/.kaggle # Make a directory named “.kaggle”
!cp /content/drive/MyDrive/kaggle.json ~/.kaggle/kaggle.json
"""
Copy the “kaggle.json” file from the mounted google drive to the current instance storage.
The Google drive is mounted under the “./content/drive/MyDrive” path. The json file is
stored in the G-Drive Root folder
"""
! kaggle competitions download -c <name of competition> # Download competition datasets from kaggle
Comment

PREVIOUS NEXT
Code Example
Python :: google calendar Request had insufficient authentication scopes. 
Python :: blender python add collection to scean collection 
Python :: typing multiple types 
Python :: paradigm meaning in python 
Python :: tqdm in place 
Python :: play video in python console 
Python :: mulitplication symbo for unpacking in python 
Python :: how to check for empty dataframe 
Python :: # remove punctuation 
Python :: how to calculate the variance of all columns in python 
Python :: doomsday fuel foobar 
Python :: Code of recursive binary search 
Python :: length of list python 
Python :: check auth user django 
Python :: addition of matrix in python using numpy 
Python :: numpy create array with values in range 
Python :: check number of elements in list python 
Python :: while activating env show error of unautorize access in vscode 
Python :: python file write 
Python :: knn with sklearn 
Python :: set and tuple in python 
Python :: continue statement python 
Python :: get UTC time for IST time python 
Python :: merge a list of dictionaries python 
Python :: Hungry Chef codechef solution 
Python :: django cleanup settings 
Python :: tkinter background image python 3 
Python :: sql like equivalent in python 
Python :: taille du liste python 
Python :: csv file sort python 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =