ium_452487/dataset_download.sh

9 lines
408 B
Bash
Raw Normal View History

2024-03-24 17:46:15 +01:00
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/
2024-03-24 17:54:39 +01:00
unzip -o personal-key-indicators-of-heart-disease.zip -d extracted_dataset
cd "extracted_dataset/2022"
2024-03-24 18:09:35 +01:00
shuf heart_2022_with_nans.csv | head -n ${CUTOFF} > processed.csv
2024-03-24 17:58:55 +01:00
#cat "processed.csv"