From cc69ba36adca4ac6ed0438e06814526e77f9becd Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 18 Jun 2018 22:32:45 -0500 Subject: [PATCH 1/2] Remove grammar duplication in groupby docs --- doc/source/groupby.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/source/groupby.rst b/doc/source/groupby.rst index 1c4c3f93726a9..8bbfffa1df9ad 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -680,8 +680,7 @@ match the shape of the input array. data_range = lambda x: x.max() - x.min() ts.groupby(key).transform(data_range) -Alternatively the built-in methods can be could be used to produce the same -outputs +Alternatively the built-in methods could be used to produce the same outputs. .. ipython:: python From e2ae4d14b356ec7ebaf203e1a23acd7304d69587 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 19 Jun 2018 10:30:20 +0200 Subject: [PATCH 2/2] add comma --- 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 8bbfffa1df9ad..47d53c82b86f3 100644 --- a/doc/source/groupby.rst +++ b/doc/source/groupby.rst @@ -680,7 +680,7 @@ match the shape of the input array. data_range = lambda x: x.max() - x.min() ts.groupby(key).transform(data_range) -Alternatively the built-in methods could be used to produce the same outputs. +Alternatively, the built-in methods could be used to produce the same outputs. .. ipython:: python