I have a Movielens CSV dataset file with columns as \'movieID\',\'UserID\', \'Rating\', \'Timestamp\'. I aggregated each movie rating by count and average. Below is my code.