-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Docs for groupby.transform()
should mention that function parameter can be a string in transform
#49961
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
groupby.trsnform()
should mention that function parameter can be a string
groupby.trsnform()
should mention that function parameter can be a stringgroupby.trsnform()
should mention that function parameter can be a string in transform
groupby.trsnform()
should mention that function parameter can be a string in transform
groupby.transform()
should mention that function parameter can be a string in transform
I would like to work on this. Assign me this issue please. |
you are free to create a pr, anyone who's pr will be submitted first will be considered |
take |
@ramvikrams I will take your word on this comment: #49961 (comment) |
thanks fot your commit, can please also add an example for that, and I feel it should be like |
@ramvikrams I added this PR here for the comment you made here: #49961 (comment) Please review and approve if this is what you meant |
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.DataFrameGroupBy.transform.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.SeriesGroupBy.transform.html
Documentation problem
the current doc does not indicate that a string is accepted as a function parameter
transform
ingroupby.transform()
.Suggested fix for documentation
docs for
transform
need to indicate that the function parameter ingroupby.transform()
can be a string function name, and that an example should be included.The text was updated successfully, but these errors were encountered: