FunctionRacerProblemsRace

Average Age

BeginnerpandasPython

people has columns name and age. Return the average age as a float.

Example 1

people {"name":["a","b","c"],"age":[20,25,30]}
returns 25.0

75 / 3 = 25.0.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More pandas problems