fix script
This commit is contained in:
parent
8a4df8d901
commit
1e3f53c33e
@ -7,7 +7,7 @@ kaggle datasets download -p "https://www.kaggle.com/datasets/nikhil7280/student-
|
|||||||
mv Student_Performance.csv data.csv
|
mv Student_Performance.csv data.csv
|
||||||
|
|
||||||
# cut off rows
|
# 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
|
# get data size
|
||||||
data_size=$(wc -l < data.csv)
|
data_size=$(wc -l < data.csv)
|
||||||
|
Loading…
Reference in New Issue
Block a user