Skip to content

DOC: remove grammar duplication in groupby docs #21534

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 19, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions doc/source/groupby.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Member

@gfyoung gfyoung Jun 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's take this chance to improve the docs even further and add a comma after "Alternatively"


.. ipython:: python

Expand Down