A 22 minute video demonstration of using the Kaggle Command Line Interface (CLI) to download datasets to a Linux virtual machine.
If you would prefer a written tutorial, please visit this site: holowczak.com/...
(c) 2024 R. Holowczak
Enable the Compute Engine API
support.google...
Dataset
www.kaggle.com...
Linux commands used
Set up Kaggle API Token file
Upload kaggle.json file
mkdir .kaggle
mv kaggle.json .kaggle/
chmod 600 .kaggle/kaggle.json
Install Python tools
sudo apt -y install zip
sudo apt -y install python3-pip python3.11-venv
Create a Python virtual environment
python3 -m venv pythondev
cd pythondev
source bin/activate
Install kaggle command line interface (CLI)
pip3 install kaggle
List kaggle datasets
kaggle datasets list
Download a Kaggle Dataset
kaggle datasets download -d najzeko/steam-reviews-2021
Негізгі бет Downloading Kaggle Data Sets using the Linux Command Line
Пікірлер