Skip to content

Commit

Permalink
improved the pylint score
Browse files Browse the repository at this point in the history
  • Loading branch information
rishi2019194 committed Oct 16, 2023
1 parent c681a3f commit 4cae9b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/prediction_scripts/item_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

0 comments on commit 4cae9b1

Please sign in to comment.