Fill the missing rating values with the mean rating for that city, and return t…

pandas · from Capstone: clean a messy dataset

drop_duplicates.strto_datetimetransformfillnaassert

Putting the kettle on…

Starting up…

Exercise 4

Fill the missing rating values with the mean rating for that city, and return the rating column. The starter uses one global mean — fix it.

your answer
stuck? the lesson behind it
Capstone: clean a messy dataset
Thirteen rows, four defects, one pipeline.