Skip to content

Commit 6812017

Browse files
committed
Add a description of the 311 service requests dataset in Chapter 2
1 parent 53ab715 commit 6812017

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cookbook/Chapter 2 - Selecting data & finding the most common complaint type.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"cell_type": "markdown",
3030
"metadata": {},
3131
"source": [
32-
"We're going to continue with the same example from Chapter 1, to start. "
32+
"We're going to use a new dataset here, to demonstrate how to deal with larger datasets. This is a subset of the of 311 service requests from [NYC Open Data](https://nycopendata.socrata.com/Social-Services/311-Service-Requests-from-2010-to-Present/erm2-nwe9). "
3333
]
3434
},
3535
{
@@ -261,7 +261,9 @@
261261
"cell_type": "markdown",
262262
"metadata": {},
263263
"source": [
264-
"To get the first 5 rows of a dataframe, we can use a slice: `df[:5]`. If the dataframe has too many "
264+
"To get the first 5 rows of a dataframe, we can use a slice: `df[:5]`.\n",
265+
"\n",
266+
"This is a great way to get a sense for what kind of information is in the dataframe -- take a minute to look at the contents and get a feel for this dataset."
265267
]
266268
},
267269
{

0 commit comments

Comments
 (0)