Skip to content
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

Possible documentation problem in GroupBy section #17349

Closed
td2014 opened this issue Aug 27, 2017 · 5 comments
Closed

Possible documentation problem in GroupBy section #17349

td2014 opened this issue Aug 27, 2017 · 5 comments
Labels
Docs Duplicate Report Duplicate issue or pull request Groupby

Comments

@td2014
Copy link

td2014 commented Aug 27, 2017

Hi. I'm not understanding the following section in the pandas doc regarding "Flexible apply" on the following page: http://pandas.pydata.org/pandas-docs/stable/groupby.html: Is the python error about missing parentheses (I suppose a v2 to v3 issue with print) intended to be the explanatory result? If so, it seems confusing in this context. Is this a bug in the code that is generating the example for the doc. Thanks.

screen shot 2017-08-27 at 8 36 03 am

@jreback
Copy link
Contributor

jreback commented Aug 27, 2017

this is an error in the docs which are built with py3

a PR to fix would be great

@td2014
Copy link
Author

td2014 commented Aug 27, 2017

A bit more investigation shows that it looks like this parentheses matter was fixed in issue #16862 (#16862) and merged to master, but the current pandas documentation is not reflecting the change: http://pandas.pydata.org/pandas-docs/stable/groupby.html

@gfyoung
Copy link
Member

gfyoung commented Aug 27, 2017

@td2014 : That's because we don't build the docs daily (correct me if I'm wrong @jreback, and if we don't, maybe we should build a dev-version of the docs ?)

@gfyoung gfyoung added Docs Duplicate Report Duplicate issue or pull request Groupby labels Aug 27, 2017
@gfyoung gfyoung added this to the No action milestone Aug 27, 2017
@gfyoung gfyoung closed this as completed Aug 27, 2017
@jorisvandenbossche
Copy link
Member

It's indeed fixed in the master docs. @td2014 the stable docs will be updated once a next release it out. Closing this then, but thanks for reporting!

@jorisvandenbossche
Copy link
Member

dev docs is here: http://pandas-docs.github.io/pandas-docs-travis/groupby.html#flexible-apply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Duplicate Report Duplicate issue or pull request Groupby
Projects
None yet
Development

No branches or pull requests

4 participants