ium_452487/dataset_download.sh

9 lines
400 B
Bash

echo "Hello world from sh file"
pip install --user kaggle
export KAGGLE_USERNAME=${kaggle_username}
export KAGGLE_KEY=${kaggle_password}
kaggle datasets download -d kamilpytlak/personal-key-indicators-of-heart-disease/
unzip -o personal-key-indicators-of-heart-disease.zip -d extracted_dataset
cd "extracted_dataset/2022"
shuf heart_2022_with_nans.csv | head -n 50 > processed.csv
cat "processed.csv"