diff --git a/get_data.sh b/get_data.sh index fb313e2..9f91553 100755 --- a/get_data.sh +++ b/get_data.sh @@ -8,6 +8,7 @@ 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" - sed '/^\n$/d' "data_dev" + tr '\n' '' < "data_dev" + sed '/^$/d' "data_dev" python3 get_data.py USvideos_modified.csv fi \ No newline at end of file