How could the content be improved?
The solution to the plotting challenge in "starting with data" produces an error because it tries to calculate means of all variables in the dataframe, not all of which are numeric. I would suggest either subsetting to just weight before taking the mean, or including numeric_only = True as an argument of mean().
Which part of the content does your suggestion apply to?
https://datacarpentry.github.io/python-ecology-lesson/02-starting-with-data.html
How could the content be improved?
The solution to the plotting challenge in "starting with data" produces an error because it tries to calculate means of all variables in the dataframe, not all of which are numeric. I would suggest either subsetting to just weight before taking the mean, or including numeric_only = True as an argument of mean().
Which part of the content does your suggestion apply to?
https://datacarpentry.github.io/python-ecology-lesson/02-starting-with-data.html