-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Inconsistencies in pandas.DataFrame.pivot_table parameter descriptions #53351
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
Closed
1 task done
Labels
Comments
tpaxman
added a commit
to tpaxman/pandas
that referenced
this issue
May 24, 2023
PR(s) are welcome for this. |
I will take this and submit a PR |
Merged
2 tasks
Daquisu
pushed a commit
to Daquisu/pandas
that referenced
this issue
Jul 8, 2023
…parameter descriptions (pandas-dev#53605) DOC: Inconsistencies in pandas.DataFrame.pivot_table parameter descriptions (pandas-dev#53351)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.DataFrame.pivot_table.html
Documentation problem
In the
pandas.DataFrame.pivot_table
function, there are issues with grammar and sentence structure in the descriptions for theindex
,columns
, andaggfunc
parameters, which may cause some confusion for users. The issues are described below:index
:margins
,dropna
, andmargins_name
).columns
:aggfunc
:index
andcolumns
use phrasing such as "If an array is passed"Suggested fix for documentation
The following fixes are proposed for the descriptions of the
index
,columns
, andaggfunc
parameters:index
Correct grammar and tense to be consistent with other parameter descriptions; rearrange sentence order to be more consistent and clear.
OLD:
NEW:
columns
Correct grammar and tense to be consistent with other parameter descriptions; rearrange sentence order to be more consistent and clear.
OLD:
NEW:
aggfunc
Add indefinite articles to be consistent with other parameter descriptions
OLD:
NEW:
The text was updated successfully, but these errors were encountered: