change data.sh
This commit is contained in:
parent
6e0b42b363
commit
af149190ea
5
data.sh
5
data.sh
@ -8,4 +8,7 @@ wc -l ./vaccines.csv
|
||||
head -n 1468 vaccines.csv > ./test.csv
|
||||
head -n 2936 vaccines.csv | tail -n 1468 > ./validation.csv
|
||||
tail -n +2936 vaccines.csv > ./train.csv
|
||||
wc -l ./*.csv
|
||||
wc -l ./*.csv
|
||||
sed -i '1s/^/country,iso_code,date,total_vaccinations,people_vaccinated,people_fully_vaccinated,daily_vaccinations_raw,daily_vaccinations,total_vaccinations_per_hundred,people_vaccinated_per_hundred,people_fully_vaccinated_per_hundred,daily_vaccinations_per_million,vaccines,source_name,source_website\n/' ./test.csv
|
||||
sed -i '1s/^/country,iso_code,date,total_vaccinations,people_vaccinated,people_fully_vaccinated,daily_vaccinations_raw,daily_vaccinations,total_vaccinations_per_hundred,people_vaccinated_per_hundred,people_fully_vaccinated_per_hundred,daily_vaccinations_per_million,vaccines,source_name,source_website\n/' ./validation.csv
|
||||
sed -i '1s/^/country,iso_code,date,total_vaccinations,people_vaccinated,people_fully_vaccinated,daily_vaccinations_raw,daily_vaccinations,total_vaccinations_per_hundred,people_vaccinated_per_hundred,people_fully_vaccinated_per_hundred,daily_vaccinations_per_million,vaccines,source_name,source_website\n/' ./train.csv
|
Loading…
Reference in New Issue
Block a user