From 337ab1b45c44b04d756dc240f34b73cda61c73dd Mon Sep 17 00:00:00 2001 From: jwradhe Date: Sun, 27 Oct 2024 20:21:20 +0100 Subject: [PATCH] Uppdatera README samt Main --- README.md | 2 +- main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f65f586..852a18d 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ like Title, Release year, Description, Cast, Director and genres. ### Classes 1. LoadData - * check_data + * load_data * clean_text * clean_data * load_dataset diff --git a/main.py b/main.py index b72d240..c388c08 100644 --- a/main.py +++ b/main.py @@ -13,7 +13,7 @@ class LoadData: self.data = None self.loaded_datasets = [] - def check_data(self): + def load_data(self): self.create_data() self.clean_data() num_rows = self.data.shape[0] @@ -97,7 +97,7 @@ class Recommendations: def main(): data_loader = LoadData() - title_data = data_loader.check_data() + title_data = data_loader.load_data() user_data = UserData() user_input = user_data.input()