diff --git a/02-starting-with-data.html b/02-starting-with-data.html index a4571dbf7..e96e7b514 100644 --- a/02-starting-with-data.html +++ b/02-starting-with-data.html @@ -695,7 +695,7 @@
surveys_df.columns
provides the names of the columns in
@@ -782,7 +782,7 @@ site_names = pd.unique(surveys_df["plot_id"])
site_names.size
@@ -906,7 +906,7 @@ grouped_data.describe()
(count) tells us that the data contains 15690 records for female
@@ -1005,7 +1005,7 @@ As well as calling count()
on the record_id
column of the grouped DataFrame as above, an equivalent result can be
@@ -1128,7 +1128,7 @@
surveys_df.groupby('plot_id').mean()["weight"].plot(kind='bar')
surveys_df.groupby('sex').count()["record_id"].plot(kind='bar')
First we group data by site and by sex, and then calculate a total for each site.
diff --git a/05-merging-data.html b/05-merging-data.html index 9327b364c..ba19969b9 100644 --- a/05-merging-data.html +++ b/05-merging-data.html @@ -494,7 +494,7 @@site_names = pd.unique(surveys_df["plot_id"])
grouped_data.describe()
@@ -2135,7 +2135,7 @@ As well as calling count()
on the record_id
column of the grouped DataFrame as above, an equivalent result can be
@@ -2262,7 +2262,7 @@
surveys_df.groupby('plot_id').mean()["weight"].plot(kind='bar')
First we group data by site and by sex, and then calculate a total for each site.
@@ -4166,7 +4166,7 @@surveys_df.columns
provides the names of the columns in
@@ -725,7 +725,7 @@ Working through solutions to the challenge above can provide a good opportunity to recap about mutability and immutability of different @@ -807,7 +807,7 @@
site_names = pd.unique(surveys_df["plot_id"])
site_names.size
@@ -859,7 +859,7 @@ In pandas prior to version 0.18.1 there is a bug causing
surveys_df['weight'].describe()
to return a runtime
@@ -945,7 +945,7 @@
grouped_data.describe()
(count) tells us that the data contains 15690 records for female
@@ -1044,7 +1044,7 @@ As well as calling count()
on the record_id
column of the grouped DataFrame as above, an equivalent result can be
@@ -1167,7 +1167,7 @@
surveys_df.groupby('plot_id').mean()["weight"].plot(kind='bar')
surveys_df.groupby('sex').count()["record_id"].plot(kind='bar')
First we group data by site and by sex, and then calculate a total for each site.
diff --git a/instructor/05-merging-data.html b/instructor/05-merging-data.html index 6358ea5c9..d70fedbaa 100644 --- a/instructor/05-merging-data.html +++ b/instructor/05-merging-data.html @@ -496,7 +496,7 @@The number of individuals for each taxa in each plot per sex can be derived as well.
@@ -944,7 +944,7 @@Working through solutions to the challenge above can provide a good opportunity to recap about mutability and immutability of different @@ -1947,7 +1947,7 @@
site_names = pd.unique(surveys_df["plot_id"])