cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Can Kaggle Kernels be used in Databricks notebooks?

jch
New Contributor III

suggestions).

This one looks perfect 

kaggle kernels output rsrishav/starter-youtube-trending-video-dataset -p /path/to/dest

 but I'm not using CLI, I'm using a databricks notebook.

I tried using this code but it doesn't work.

data_path = 'rsrishav/youtube-trending-video-dataset' 
 
file_path = '/mnt/dlsi2023/testing' 
 
api.kernels_pull(data_path, file_path, metadata=True, quiet=True)

The error message I receieved was: 

HTTP response body: {"code":403,"message":"Permission \u0027kernels.get\u0027 was denied"}

Does anyone have suggestions for using a Kaggle kernel within a databricks notebook or have suggestions for another dataset?

2 REPLIES 2

Anonymous
Not applicable

Hi @jch​ 

Great to meet you, and thanks for your question!

Let's see if your peers in the community have an answer to your question. Thanks.

Kaniz
Community Manager
Community Manager

Hi @jch​, The error message you received, "Permission 'kernels.get' was denied," suggests that you don't have the necessary permissions to access or view the Kaggle kernel. This error typically occurs when you try to access a kernel that you don't have permission to view or execute.