-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
[Docs] GroupsBy Example: Group by value of sum of columns #6288
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
Comments
sure....want to try to add in via a pull-request, see here: http://pandas.pydata.org/pandas-docs/dev/contributing.html |
Sure, i'll suggest a way to add it to the docs via PullRequest. Thanks. |
Great thanks. It should go under |
OK, but The file you indicated misses most of the code snippet available at http://pandas.pydata.org/pandas-docs/dev/groupby.html, and I couldn't figure out where there are called from. Any hint ? |
I don't know exactly what you mean, but: (a) github does not render the rst files with code very well. So if you just look at https://github.com/pydata/pandas/blob/master/doc/source/groupby.rst you won't see the code snippets (but it you go to -> 'raw' or when you open it locally, you will see the code snippets) and (b) the code snippets in the docs only contain the code itself, and not the output as you see it on the html pages. This is because during the doc building all code snippets are run and the output generated and saved in the html (see explanation here: http://pandas.pydata.org/pandas-docs/stable/contributing.html#contributing-to-the-documentation) |
Hi,
TomAugspurger suggested me on StackOverFlow to suggest this example of
df.groupby()
here for being considered as relevant to add to the docs. The idea was to determine a way to regroup columns of a DataFrame according to their sum, and to sum the aggregated ones.The text was updated successfully, but these errors were encountered: