From b72fb2f43f7b70c896a56c1aaa39e63d1c4afefa Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Sat, 2 Apr 2022 14:15:23 +0200 Subject: [PATCH] update --- Zajecia_2/main.py | 2 +- download.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Zajecia_2/main.py b/Zajecia_2/main.py index b3456c4..0122fb6 100644 --- a/Zajecia_2/main.py +++ b/Zajecia_2/main.py @@ -152,7 +152,7 @@ def dataset_information(games): # os.system("unzip top-video-games-19952021-metacritic.zip") # wczytanie danych -games=pd.read_csv('all_games.csv') +games=pd.read_csv('all_games.csv.shuf') # usunięcie 5 wyników "Stadia" delete_stadia(games) diff --git a/download.sh b/download.sh index b043203..7a6822e 100755 --- a/download.sh +++ b/download.sh @@ -8,7 +8,6 @@ dataset_operation() { head -n $len2 all_games.csv.shuf > all_games.csv.test head -n $len3 all_games.csv.shuf | tail -n $len2 > all_games.csv.dev tail -n +$len4 all_games.csv.shuf > all_games.csv.train - rm all_games.csv.shuf wc -l all_games.csv.* }