Update data_processing_script.sh
This commit is contained in:
parent
31c4605d7a
commit
2abdfb8f6e
@ -1,13 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#wget https://www.kaggle.com/datasets/jjayfabor/lettuce-growth-days -O input_data.csv
|
|
||||||
|
|
||||||
kaggle datasets download -d jjayfabor/lettuce-growth-days
|
kaggle datasets download -d jjayfabor/lettuce-growth-days
|
||||||
|
|
||||||
# Unzipping the downloaded dataset
|
|
||||||
unzip lettuce-growth-days.zip
|
unzip lettuce-growth-days.zip
|
||||||
|
|
||||||
# Renaming the CSV file to a more suitable name
|
|
||||||
mv lettuce_dataset_updated.csv input_data.csv
|
mv lettuce_dataset_updated.csv input_data.csv
|
||||||
|
|
||||||
head -n "$1" input_data.csv > processed_data.csv
|
head -n "$1" input_data.csv > processed_data.csv
|
||||||
|
Loading…
Reference in New Issue
Block a user