From 2363e9e73f66b2778ea640a3f05b7227e7e178bb Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 17 Oct 2023 11:54:39 +0000 Subject: [PATCH] differences for PR #666 --- 14-looping-data-sets.md | 2 +- md5sum.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/14-looping-data-sets.md b/14-looping-data-sets.md index ec19be367..abe22a874 100644 --- a/14-looping-data-sets.md +++ b/14-looping-data-sets.md @@ -201,7 +201,7 @@ for filename in glob.glob('data/gapminder_gdp*.csv'): # retrieve the last string in the list that split returns (`.csv`), # and then remove the `.csv` extension from that string. region = filename.split('_')[-1][:-4] - dataframe.mean().plot(ax=ax, label=region) + dataframe.mean(numeric_only=True).plot(ax=ax, label=region) plt.legend() plt.show() ``` diff --git a/md5sum.txt b/md5sum.txt index f757af277..99ddcbcf4 100644 --- a/md5sum.txt +++ b/md5sum.txt @@ -17,7 +17,7 @@ "episodes/11-lists.md" "1257daeb542377a3b04c6bec0d0ffee1" "site/built/11-lists.md" "2023-07-24" "episodes/12-for-loops.md" "1da6e4e57a25f8d4fd64802c2eb682c4" "site/built/12-for-loops.md" "2023-05-02" "episodes/13-conditionals.md" "fe461994d104541f60dc8e37822b487c" "site/built/13-conditionals.md" "2023-05-02" -"episodes/14-looping-data-sets.md" "e04f11544d1e5f3ca08ddcf22230a3a3" "site/built/14-looping-data-sets.md" "2023-05-02" +"episodes/14-looping-data-sets.md" "cb914031dbbfc5272b6d9b986e3323a2" "site/built/14-looping-data-sets.md" "2023-10-17" "episodes/15-coffee.md" "062bae79eb17ee57f183b21658a8d813" "site/built/15-coffee.md" "2023-05-02" "episodes/16-writing-functions.md" "0f162f45b0072659b0113baf01ade027" "site/built/16-writing-functions.md" "2023-07-24" "episodes/17-scope.md" "8109afb18f278a482083d867ad80da6e" "site/built/17-scope.md" "2023-05-02"