Skip to content

Commit 662e357

Browse files
committed
Fixed additional numeric_only default value of df.mean
1 parent 516581b commit 662e357

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

episodes/02-starting-with-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ summary stats.
546546
then calculate mean values?
547547

548548
- `grouped_data2 = surveys_df.groupby(['plot_id', 'sex'])`
549-
- `grouped_data2.mean()`
549+
- `grouped_data2.mean(numeric_only=True)`
550550

551551
3. Summarize weight values for each site in your data. HINT: you can use the
552552
following syntax to only create summary statistics for one column in your data.

0 commit comments

Comments
 (0)