remove empty lines

This commit is contained in:
Karolina Oparczyk 2021-05-17 20:50:29 +02:00
parent 4419460fbf
commit 142e30de1f

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 '/^\\n$/d' "data_dev" sed '/^\n$/d' "data_dev"
python3 get_data.py USvideos_modified.csv python3 get_data.py USvideos_modified.csv
fi fi