From dfc509b95ff03d0c9027ee74d31d7b171f867bf1 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 26 May 2021 23:59:17 +0530 Subject: generated website --- ...-01-15-Setting-up-Kaggle-to-use-with-Colab.html | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docs/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab.html (limited to 'docs/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab.html') diff --git a/docs/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab.html b/docs/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab.html new file mode 100644 index 0000000..26753e8 --- /dev/null +++ b/docs/posts/2020-01-15-Setting-up-Kaggle-to-use-with-Colab.html @@ -0,0 +1,72 @@ + + + + + + + + + Hey - Post + + + + + +
+

Setting up Kaggle to use with Google Colab

+ +

In order to be able to access Kaggle Datasets, you will need to have an account on Kaggle (which is Free)

+ +

Grabbing Our Tokens

+ +

Go to Kaggle

+ +

"Homepage"

+ +

Click on your User Profile and Click on My Account

+ +

"Account"

+ +

Scroll Down until you see Create New API Token

+ +

+ +

This will download your token as a JSON file

+ +

+ +

Copy the File to the root folder of your Google Drive

+ +

Setting up Colab

+ +

Mounting Google Drive

+ +
import os
+from google.colab import drive
+drive.mount('/content/drive')
+
+ +

After this click on the URL in the output section, login and then paste the Auth Code

+ +

Configuring Kaggle

+ +
os.environ['KAGGLE_CONFIG_DIR'] = "/content/drive/My Drive/"
+
+ +

Voila! You can now download Kaggle datasets

+ +
+ + + + + + \ No newline at end of file -- cgit v1.2.3