in the data science path, MACHINE LEARNING: SUPERVISED LEARNING
project: Honey Production
why does the lesson when when grouping the data by year is using mean instead of sum?
The solutions is:
prod_per_year = df.groupby(âyearâ).totalprod.mean().reset_index()
should it be?
prod_per_year = df.groupby(âyearâ).totalprod.SUM().reset_index()