From 109e2931322a7108c4b52307a02562f7e3a47272 Mon Sep 17 00:00:00 2001 From: Karolina Oparczyk Date: Mon, 17 May 2021 20:47:40 +0200 Subject: [PATCH] remove empty lines --- get_data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_data.sh b/get_data.sh index 0c560a8..84d2211 100755 --- a/get_data.sh +++ b/get_data.sh @@ -8,6 +8,6 @@ if kaggle datasets download -d sgonkaggle/youtube-trend-with-subscriber && unzip head -n 544 "data_shuf" > "data_test" head -n 1088 "data_shuf" | tail -n 544 > "data_dev" head -n 5441 "data_shuf" | tail -n 4352 > "data_train" - grep "\S" "data_dev" + sed '/^$/d' "data_dev" python3 get_data.py USvideos_modified.csv fi \ No newline at end of file