Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOC: Fixed documentation for pivot_table margins (pandas-dev#48916) (p…
…andas-dev#48965) * DOC: Fixed documentation for pivot_table margins (pandas-dev#48916) The documentation for the margins parameter of pivot_table was incorrect. It said that the parameter added rows and columns, but it actually passed them to aggfunc. I used the documentation from the user guide to replace the old documentation, as well as added a sentence to the documentation for aggfunc that explained its role in calculating margins. * Update pandas/core/frame.py Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Co-authored-by: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com>
- Loading branch information