4.2. Importing Datasets through Kaggle API

  Рет қаралды 38,499

Siddhardhan

Siddhardhan

Күн бұрын

Пікірлер: 57
@Siddhardhan
@Siddhardhan 3 жыл бұрын
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!
@chiennguyenngoc2832
@chiennguyenngoc2832 3 жыл бұрын
Thank you , I solved this
@PAVANSIDEAS
@PAVANSIDEAS 6 ай бұрын
Hi bro the datasets are directly downloading from the kaggle then y should we use these API 's to import???..
@IAnonymous-ne6fq
@IAnonymous-ne6fq 5 ай бұрын
How to use in vscode?
@cse-a-001puspayondasgupta7
@cse-a-001puspayondasgupta7 3 жыл бұрын
resolved the forbidden problem...thnaks sir
@sagarchougule5676
@sagarchougule5676 4 ай бұрын
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
@swagatapal2275
@swagatapal2275 3 жыл бұрын
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 ...
@Siddhardhan
@Siddhardhan 3 жыл бұрын
I replied to your mail
@thomasib4573
@thomasib4573 Жыл бұрын
I am also getting the same error.What can I do to resolve it.
@sachinvithubone4278
@sachinvithubone4278 3 жыл бұрын
It's easy to pull data from kaggle. Thanks
@Siddhardhan
@Siddhardhan 3 жыл бұрын
😇😇
@rudrakshupdhyay6599
@rudrakshupdhyay6599 5 ай бұрын
i am not getting the train.csv.zip file after running the api
@rishav.kumar_
@rishav.kumar_ 2 ай бұрын
Did u find any soln. To it?
@AnushkaSingh-v5b
@AnushkaSingh-v5b 4 ай бұрын
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
@alimibrahem8120
@alimibrahem8120 Жыл бұрын
What if this dataset were to be updated later? Can we create a schedule to upload this dataset every month, for instance?
@alizaibkhan2348
@alizaibkhan2348 3 жыл бұрын
how do i write this api configure code for jupyter notebook when kaggle.json is save in other directory
@raushanpathak2748
@raushanpathak2748 2 жыл бұрын
Hi Sir: I got 403-Forbidden error during API to fetch the dataset from Kaggle
@PAVANSIDEAS
@PAVANSIDEAS 6 ай бұрын
Hi 👋 bro the datasets are directly downloading from the kaggle then y should we use these API 's to import???..
@nanflo-dream
@nanflo-dream 3 жыл бұрын
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
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Hi! Have you downloaded the json file and uploaded in Colab?
@nanflo-dream
@nanflo-dream 3 жыл бұрын
@@Siddhardhan yeah I sent you the screenshot on your mail
@Siddhardhan
@Siddhardhan 3 жыл бұрын
@@nanflo-dream ok. I'll check.
@nanflo-dream
@nanflo-dream 3 жыл бұрын
@@Siddhardhan thanks
@bendivanitha7211
@bendivanitha7211 2 жыл бұрын
Sir say how we can merge data half from kaggle and other half from external sources through api. Plz
@madhumithasanyal4628
@madhumithasanyal4628 9 ай бұрын
Hi sir, could u please post a video on how to upload the datasets in the Google colab permanently..
@namanjain8970
@namanjain8970 3 жыл бұрын
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 ?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Hi! What is the size of your dataset?
@namanjain8970
@namanjain8970 3 жыл бұрын
@@Siddhardhan i am using same dataset as in video
@namanjain8970
@namanjain8970 3 жыл бұрын
may be that was 8 gb
@Siddhardhan
@Siddhardhan 3 жыл бұрын
Contact me in Telegram or linkedin... You can find the link in the description of the video
@namanjain8970
@namanjain8970 3 жыл бұрын
on train.csv 8.9 G has written
@yeswillcode
@yeswillcode 2 жыл бұрын
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.
@vinaynaik953
@vinaynaik953 3 жыл бұрын
It help a lot thanks you very much
@Siddhardhan
@Siddhardhan 3 жыл бұрын
My pleasure 😇
@hungpham1792
@hungpham1792 2 жыл бұрын
Hello Sir Siddhardhan, it shows me error : " 'chmod' is not recognized as an internal or external command, operable program or batch file."
@souvikbose8553
@souvikbose8553 2 жыл бұрын
use !chmod
@yogeshwariyogi3741
@yogeshwariyogi3741 2 жыл бұрын
Hello sir.. It shows me cannot access '/root/.kaggle/kaggle.json':No such file or directory,..... How to fix this error sir?
@sachinsbabar2231
@sachinsbabar2231 10 ай бұрын
import kaggle.json as explained in the video, then mentioned syntax will work
@lokeshb4683
@lokeshb4683 3 жыл бұрын
i just createdd the kaggle account. But now i am getting the late submission in earthquake prediction. Could u resolve this?
@Siddhardhan
@Siddhardhan 3 жыл бұрын
no. that competition was conducted long back by the people who created it. We can't do anything about it. you can still get the dataset.
@rudranshbhardwaj2547
@rudranshbhardwaj2547 2 жыл бұрын
brother i am facing problem -- when i paste API link in google colab then it give output as--- 403 - Forbidden
@Siddhardhan
@Siddhardhan 2 жыл бұрын
Hi! Please refer the pinned comment.
@vikashkumargupta4792
@vikashkumargupta4792 2 жыл бұрын
Hello bro i am getting warning look like you are using an outdated API version please consider updating (server 1.5.12 / client 1.5.4) forbidden . I tried your way to solve it suggestee by you but it is not resolved can you please tell me what to do please as there is my ct so I have to cover these topics can you please reply fast
@hope...3464
@hope...3464 10 ай бұрын
i am getting a zip file when api fetch
@abdulraheem6643
@abdulraheem6643 5 ай бұрын
is that resolved?
@smritibhattrai3118
@smritibhattrai3118 3 жыл бұрын
sir i'm getting error outdated api
@Tony-vo9ok
@Tony-vo9ok 4 ай бұрын
awesome
@jawehers
@jawehers 3 жыл бұрын
Any help please? I am stuck here Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4) 403 - Forbidden
@Siddhardhan
@Siddhardhan 3 жыл бұрын
please refer the pinned comment
@vetrij8630
@vetrij8630 3 жыл бұрын
Warning: Your Kaggle API key is readable by other users on this system! To fix this, you can run 'chmod 600 /content/kaggle.json' Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4) 403 - Forbidden i got this problem help me
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! I saw your mail. I replied to it. kindly check.
@clemencejosephat8335
@clemencejosephat8335 2 жыл бұрын
Who else facing the phone number verification problem at the Kaggle website?
@gsrinivasarao5427
@gsrinivasarao5427 3 жыл бұрын
hi brother I am getting like Warning: Looks like you're using an outdated API Version, please consider updating (server 1.5.12 / client 1.5.4) 403 - Forbidden
@Siddhardhan
@Siddhardhan 3 жыл бұрын
hi! please send a mail mentioning your error with screenshot to siddhardhselvam2317@gmail.com
@sachinlakshitha7616
@sachinlakshitha7616 Жыл бұрын
!mkdir -p ~/.kaggle !cp kaggle.json ~/.kaggle/ !chmod 600 ~/.kaggle/kaggle.json output cp: cannot stat 'kaggle.json': No such file or directory chmod: cannot access '/root/.kaggle/kaggle.json': No such file or directory
@jasemin3335
@jasemin3335 Ай бұрын
it happens if you have the file redownloaded as kaggle.json(1) like that so just try to delete the pervious files and donwload the API so that it'll be like kaggle.json
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 10 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 25 МЛН
Подсадим людей на ставки | ЖБ | 3 серия | Сериал 2024
20:00
ПАЦАНСКИЕ ИСТОРИИ
Рет қаралды 572 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
How to Import (use) Kaggle datasets in Google Colab?
10:43
Shriram Vasudevan
Рет қаралды 151 М.
How I built an AI Teacher with Vector Databases and ChatGPT
13:43
The Harsh Reality of Being a Data Engineer
14:21
Jash Radia
Рет қаралды 250 М.
Google's 9 Hour AI Prompt Engineering Course In 20 Minutes
20:17
Loading Kaggle data directly into Google Colab
10:45
DigitalSreeni
Рет қаралды 49 М.
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 10 МЛН