Introduction
4. Function mean()
Grouping
Summary

Instruction

Good! Next, there is mean(), or the average. The arithmetic mean (or simply mean) is the sum of all elements divided by the total number of elements. The following line of code:

players['titles'].mean()

will take values from the titles column, sum them up, and then divide the result by the number of rows.

Exercise

Find the average rating of movies in the movies DataFrame.