Add 'script.sh'
This commit is contained in:
parent
51140aee82
commit
828dc01960
12
script.sh
Normal file
12
script.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Pobieranie zbioru danych z Kaggle
|
||||
kaggle datasets download -d iabhishekofficial/mobile-price-classification
|
||||
unzip mobile-price-classification.zip -d dataset
|
||||
|
||||
# Przetwarzanie pliku
|
||||
head -n 100 dataset/train.csv > temp.csv
|
||||
cut -f 1,3,5 -d ',' temp.csv > output.txt
|
||||
|
||||
# Usuwanie plików tymczasowych
|
||||
rm temp.csv
|
Loading…
Reference in New Issue
Block a user