Skip to content

Commit a5bb98a

Browse files
committed
minor edits
1 parent 3a514f6 commit a5bb98a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lessons/3_Project.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
"source": [
315315
"## Subsetting a DataFrame\n",
316316
"\n",
317-
"In order to create two bar plots of general health – for people above and below the poverty line – we can create two DataFrames for these groups. We can then plot the values in these DataFrames \"on top of\" one another in a barplot.\n",
317+
"In order to create two bar plots of general health – for people above and below the poverty line – we can create two DataFrames for just these groups. We can then plot the values in these DataFrames \"on top of\" one another in a barplot.\n",
318318
"\n",
319319
"Recall that we can subset DataFrames with Boolean masks. For instance, say we have a DataFrame `counts` with a column `A`. If we want to create a new DataFrame called `above_800`, which only contains the values over 800 in column `A` of `counts`, we would write:\n",
320320
"\n",

solutions/3_Project.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
"## Counting Values\n",
280280
"The first thing we will want to do is count values of poverty levels: we want to see how many levels there are, and how the data are distributed. \n",
281281
"1. Run `value_counts()` on the `poverty_level` column. \n",
282-
"2. <span style=\"color:purple\"> Look through the [documentation](https://pandas.pydata.org/docs/reference/api/pandas.Series.value_counts.html) and **normalize** the output of `value_counts()`.</span>"
282+
"2. Look through the [documentation](https://pandas.pydata.org/docs/reference/api/pandas.Series.value_counts.html) and **normalize** the output of `value_counts()`."
283283
]
284284
},
285285
{

0 commit comments

Comments
 (0)