From 02ebad8486c5b88fc3c27878f09fcd5d1afa9421 Mon Sep 17 00:00:00 2001 From: Benjamin Grove Date: Sun, 24 Jun 2018 03:27:26 -0700 Subject: [PATCH] Fix typo in cookbook.rst Removing the semicolon delimiter at the end of the modified line of code allows the line's output to be displayed. --- doc/source/cookbook.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/cookbook.rst b/doc/source/cookbook.rst index fdc3b38cfdebc..f6fa9e9f86143 100644 --- a/doc/source/cookbook.rst +++ b/doc/source/cookbook.rst @@ -132,7 +132,7 @@ Building Criteria .. ipython:: python - newseries = df.loc[(df['BBB'] > 25) | (df['CCC'] >= -40), 'AAA']; newseries; + newseries = df.loc[(df['BBB'] > 25) | (df['CCC'] >= -40), 'AAA']; newseries ...or (with assignment modifies the DataFrame.)