fix script 6
This commit is contained in:
parent
d153734899
commit
c21a97aa41
@ -5,9 +5,9 @@ kaggle datasets download -d nikhil7280/student-performance-multiple-linear-regre
|
|||||||
|
|
||||||
# change dataset name to data.csv
|
# change dataset name to data.csv
|
||||||
mv Student_Performance.csv data.csv
|
mv Student_Performance.csv data.csv
|
||||||
|
echo "$2"
|
||||||
# cut off rows
|
# cut off rows
|
||||||
head -n $2 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