Kaggle / kagglehub

Python library to access Kaggle resources
Apache License 2.0
42 stars 7 forks source link

Adds dataset cache resolver #134

Closed jeward414 closed 2 weeks ago

jeward414 commented 2 months ago

Add dataset cache resolver for attaching datasets via kagglehub in a Kaggle Notebook.

Demo in Kaggle Notebook

b/356363103

rosbo commented 3 weeks ago

Did you test this in a Kaggle notebook? If so, it would be great to attach a screencast (make sure the dataset is attached) in the PR description.

You will need to run:

# Re-install kagglehub from this branch
!pip install --force-reinstall --no-deps git+https://github.com/Kaggle/kagglehub.git@datasets-resolver

import kagglehub

kagglehub.dataset_download("jessicali9530/animal-crossing-new-horizons-nookplaza-dataset")

And you can use https://screencast.googleplex.com/ to record and share the link.

jeward414 commented 3 weeks ago

Did you test this in a Kaggle notebook? If so, it would be great to attach a screencast (make sure the dataset is attached) in the PR description.

You will need to run:

# Re-install kagglehub from this branch
!pip install --force-reinstall --no-deps git+https://github.com/Kaggle/kagglehub.git@datasets-resolver

import kagglehub

kagglehub.dataset_download("jessicali9530/animal-crossing-new-horizons-nookplaza-dataset")

And you can use https://screencast.googleplex.com/ to record and share the link.

Just updated the description 🎉