Skip to content

Commit cd2406e

Browse files
committed
Merge branch 'oibe-issue_24'
2 parents f16bdea + 72f1117 commit cd2406e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

cookbook/Chapter 3 - Which borough has the most noise complaints (or, more selecting data).ipynb

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,12 @@
758758
"cell_type": "markdown",
759759
"metadata": {},
760760
"source": [
761-
"This is a big array of `True`s and `False`s, one for each row in our dataframe. When we index our dataframe with this array, we get just the rows where.\n",
761+
"This is a big array of `True`s and `False`s, one for each row in our
762+
dataframe. When we index our dataframe with this array, we get just the
763+
rows where our boolean array evaluated to `True`. It's important to note
764+
that for row filtering by a boolean array the length of our dataframe's
765+
index must be the same length as the boolean array used for
766+
filtering.\n",
762767
"\n",
763768
"You can also combine more than one condition with the `&` operator like this:"
764769
]
@@ -1601,4 +1606,4 @@
16011606
"metadata": {}
16021607
}
16031608
]
1604-
}
1609+
}

0 commit comments

Comments
 (0)