From 4cae9b1f6f922293270d8d334c84f93afdc92c7f Mon Sep 17 00:00:00 2001 From: rishi2019194 <58341663+rishi2019194@users.noreply.github.com> Date: Mon, 16 Oct 2023 13:27:09 -0400 Subject: [PATCH] improved the pylint score --- src/prediction_scripts/item_based.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/prediction_scripts/item_based.py b/src/prediction_scripts/item_based.py index f2a9f49d4..887051dad 100644 --- a/src/prediction_scripts/item_based.py +++ b/src/prediction_scripts/item_based.py @@ -49,4 +49,6 @@ def recommend_for_new_user(user_rating): by="recommended", ascending=False, inplace=True ) - return list(join_movies_and_recommendations["title"][:201]), list(join_movies_and_recommendations["genres"][:201]), list(join_movies_and_recommendations["imdb_id"][:201]) + return list(join_movies_and_recommendations["title"][:201]), \ + list(join_movies_and_recommendations["genres"][:201]), \ + list(join_movies_and_recommendations["imdb_id"][:201])