ghead installation added
This commit is contained in:
parent
a2b991907f
commit
2f272b6b44
2
avocado-preprocessing.sh
Normal file → Executable file
2
avocado-preprocessing.sh
Normal file → Executable file
@ -10,6 +10,8 @@ grep -P "^$" -n avocado-updated-2020.csv
|
|||||||
|
|
||||||
# usuniecie zbednej kolumny year (redundantne dane)
|
# usuniecie zbednej kolumny year (redundantne dane)
|
||||||
cut -d -f12 --complement avocado-updated-2020.csv
|
cut -d -f12 --complement avocado-updated-2020.csv
|
||||||
|
|
||||||
|
apt-get install ghead
|
||||||
ghead -n 1 avocado-updated-2020.csv> header.csv
|
ghead -n 1 avocado-updated-2020.csv> header.csv
|
||||||
ghead -n -1 avocado-updated-2020.csv | shuf > avocado-updated-2020-shuf.csv
|
ghead -n -1 avocado-updated-2020.csv | shuf > avocado-updated-2020-shuf.csv
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user