I was looking for some example code and found this project: https://www.fatalerrors.org/a/machine-learning-create-your-own-movie-recommendation-system.html . I do not understand this particular line.
no_user_voted = ratings.groupby('movieId')['rating'].agg('count')
Here movieId
and rating
are colunms in ratings
data frame.
I know what a normal groupby function does but I do not understand this line. Can someone please explain what this line does?