Data analysis labexercise

Mean body mass by species

Group the penguins table and average body mass.

Preparing NumPy, Pandas, and MatplotlibShift+Enter runs the cell you are in.

Palmer penguins

penguins.csv · CC0

344 penguins from Palmer Station, with bill and flipper measurements and a few missing values.

Loading the first rows…

Group penguins.csv by species. Print the mean body_mass_g for each species, rounded to one decimal.

1

Starter

2

Scratch