From 625e588499a069628a18433ceaf6494237accd78 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 1 Aug 2013 22:57:06 -0400 Subject: [PATCH] DOC: Fix typo Fixes minor typo in groupby documentation --- doc/source/groupby.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index c87f21511473f..f322df1d3f0c0 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -513,7 +513,7 @@ than 2. sf = Series([1, 1, 2, 3, 3, 3]) sf.groupby(sf).filter(lambda x: x.sum() > 2) -The argument of ``filter`` must a function that, applied to the group as a +The argument of ``filter`` must be a function that, applied to the group as a whole, returns ``True`` or ``False``. Another useful operation is filtering out elements that belong to groups