ium_464863/download_dataset.sh

4 lines
181 B
Bash

#!/bin/bash
kaggle datasets download -d uciml/breast-cancer-wisconsin-data
unzip -o breast-cancer-wisconsin-data.zip
head -n "$1" data.csv > data.csv.tmp && mv data.csv.tmp data.csv