ium_452487/dataset_download.sh

9 lines
400 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"
shuf heart_2022_with_nans.csv | head -n 50 > processed.csv
cat "processed.csv"