Final version of create dataset
This commit is contained in:
parent
99dfac564c
commit
7e0c7e87c7
@ -9,7 +9,6 @@ sed 1d who_suicide_statistics.csv | shuf > data.shuf
|
|||||||
# Ilosc wierszy
|
# Ilosc wierszy
|
||||||
NUMROWS=$(cat data.shuf | wc -l)
|
NUMROWS=$(cat data.shuf | wc -l)
|
||||||
echo "Initial number of rows ${NUMROWS}"
|
echo "Initial number of rows ${NUMROWS}"
|
||||||
echo $1
|
|
||||||
CUTOFF=$1
|
CUTOFF=$1
|
||||||
DELETE=$((NUMROWS - CUTOFF))
|
DELETE=$((NUMROWS - CUTOFF))
|
||||||
echo "Cutting ${CUTOFF} rows"
|
echo "Cutting ${CUTOFF} rows"
|
||||||
|
Loading…
Reference in New Issue
Block a user