remove empty lines

This commit is contained in:
Karolina Oparczyk 2021-05-17 20:49:30 +02:00
parent 109e293132
commit 4419460fbf

View File

@ -8,6 +8,6 @@ if kaggle datasets download -d sgonkaggle/youtube-trend-with-subscriber && unzip
head -n 544 "data_shuf" > "data_test" head -n 544 "data_shuf" > "data_test"
head -n 1088 "data_shuf" | tail -n 544 > "data_dev" head -n 1088 "data_shuf" | tail -n 544 > "data_dev"
head -n 5441 "data_shuf" | tail -n 4352 > "data_train" head -n 5441 "data_shuf" | tail -n 4352 > "data_train"
sed '/^$/d' "data_dev" sed '/^\\n$/d' "data_dev"
python3 get_data.py USvideos_modified.csv python3 get_data.py USvideos_modified.csv
fi fi