From 1e3f53c33e779d78847aba5ed788dbd9872dd198 Mon Sep 17 00:00:00 2001 From: Sheaza Date: Tue, 26 Mar 2024 18:35:42 +0100 Subject: [PATCH] fix script --- download_dataset.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download_dataset.sh b/download_dataset.sh index 13c0cee..6d4ef81 100644 --- a/download_dataset.sh +++ b/download_dataset.sh @@ -7,7 +7,7 @@ kaggle datasets download -p "https://www.kaggle.com/datasets/nikhil7280/student- mv Student_Performance.csv data.csv # cut off rows -head -n "$1" data.csv > data.csv.tmp && mv data.csv.tmp data.csv +head -n "$2" data.csv > data.csv.tmp && mv data.csv.tmp data.csv # get data size data_size=$(wc -l < data.csv)