4.2. Importing Datasets through Kaggle API

preview_player
Показать описание
. In this video, I have explained how to use Kaggle API to import datasets from Kaggle to Google Colaboratory.

Hi guys! I am Siddhardhan. I work in the field of Data Science and Machine Learning. It all started with my curiosity to learn about Artificial Intelligence and the ability of AI to solve several Real Life Problems. I worked on several Machine Learning & Deep Learning projects involving Computer Vision.
I am on this journey to empower as many students & working professionals as possible with the knowledge of Machine Learning and Artificial Intelligence.

Hello everyone! I am setting up a donation campaign for my YouTube Channel. If you like my videos and wish to support me financially, you can donate through the following means:

(No donation is small. Every penny counts)
Thanks in advance!

I am making a "Hands-on Machine Learning Course with Python" in YouTube. I'll be posting 3 videos per week: Monday Evening; Wednesday Evening; Friday Evening.

Рекомендации по теме
Комментарии
Автор

Hi everyone! I got a few mails from viewers that they are getting "403-Forbidden Error" if they try to import the dataset from kaggle through API. So, the request is forbidden because of not verifying your kaggle account. Follow these steps. Your issue will be resolved:



STEP 1: Make sure you are using the same mail id for your kaggle account as well as for your google colaboratory.



STEP 2: In the top right corner, you will see your profile image in your kaggle. Click it. Then go to "Account". In account, if you scroll down, you will find 2 options as "Create new API Token" & "Expire API token". Click "Expire API token".



STEP 3: Now, go back to LANL earthquake competition. You will find an option called "Late Submission". Click that. You will be asked to verify your Phone number. Verify your phone number there.



STEP 4: Once you have verified your phone number, come back to Lanl earthquake prediction competition. Again click "Late Submission". You will be asked to "understand the rules and Join the competition". Click that.



STEP 5: Now, again go to your account and "Create new API Token". "kaggle.json" file will be downloaded.



Then follow the steps mentioned in the video. This will solve the "403-Forbidden error". Thanks!

Siddhardhan
Автор

resolved the forbidden problem...thnaks sir

cse-a-puspayondasgupta
Автор

It's easy to pull data from kaggle. Thanks

sachinvithubone
Автор

Hi Sir, When Configuring the path Kaggle.json then it gives " cp: cannot create regular file '/root/.kaggle/': Not a directory
chmod: cannot access '/root/.kaggle/kaggle.json': No such file or directory" this error message what I do

sagarchougule
Автор

sir, 9:58 minute, when i put the link in collaboratary--it shows an error ...."Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4)
403 - Forbidden" can u tell me why this type of error shows ??.. sir i have done the following steps which you have mentioned in description ...bt now it shows "401 - Unauthorized"..plz solve my problem ...

swagatapal
Автор

i am not getting the train.csv.zip file after running the api

rudrakshupdhyay
Автор

What if this dataset were to be updated later? Can we create a schedule to upload this dataset every month, for instance?

alimibrahem
Автор

hi sir Iam facing this problem:IOError: Could not find kaggle.json. Make sure it's located in /root/.kaggle. Or use the environment method. can you help me please I already sent you message

nanflo-dream
Автор

Sir say how we can merge data half from kaggle and other half from external sources through api. Plz

bendivanitha
Автор

Hi Sir: I got 403-Forbidden error during API to fetch the dataset from Kaggle

raushanpathak
Автор

Hi sir, could u please post a video on how to upload the datasets in the Google colab permanently..

madhumithasanyal
Автор

Hi 👋 bro the datasets are directly downloading from the kaggle then y should we use these API 's to import???..

PAVANSIDEAS
Автор

how do i write this api configure code for jupyter notebook when kaggle.json is save in other directory

alizaibkhan
Автор

i am trying to import the train dataset after un zipping it, to do further analysis practices, but 'Your session crashed after using all available RAM' this error keeps on occuring, can u tell how to fix this

AnushkaSingh-vb
Автор

bro i am getting a problem in it.
when i try for pd.read_csv it showing an error which is saying ram is not sufficient .
are you too getting the same error ?

namanjain
Автор

Hello Sir Siddhardhan, it shows me error : " 'chmod' is not recognized as an internal or external command,
operable program or batch file."

hungpham
Автор

Hello sir.. It shows me cannot access such file or How to fix this error sir?

yogeshwariyogi
Автор

brother i am facing problem -- when i paste API link in google colab then it give output as---
403 - Forbidden

rudranshbhardwaj
Автор

how to pull kaggle data API in Jupyter Notebook, I mean in the same way, how you did it for Colab can you do it jupyter notebook. Initially, I tried the same steps for Jupyter Notebook, but it didn't work.

yeswillcode
Автор

i just createdd the kaggle account.
But now i am getting the late submission in earthquake prediction.
Could u resolve this?

lokeshb
join shbcf.ru