Closed
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
main
here
Location 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
in groupby.transform()
.
Suggested fix for documentation
docs for transform
need to indicate that the function parameter in groupby.transform()
can be a string function name, and that an example should be included.