Skip to content

DOC: Add func as a string to DataFrameGroupBy.transform docs #49962

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
rhshadrach opened this issue Nov 29, 2022 · 2 comments
Closed

DOC: Add func as a string to DataFrameGroupBy.transform docs #49962

rhshadrach opened this issue Nov 29, 2022 · 2 comments

Comments

@rhshadrach
Copy link
Member

Ref: pandas-dev/pandas-stubs#438 (comment)

In DataFrameGroupBy.transform, the argument func can be a string as well as a Callable. This should be added to the docstring for the argument f (which should also be corrected to be func), and to the examples section. We already document this in the User Guide here.

@Dr-Irv
Copy link
Contributor

Dr-Irv commented Nov 29, 2022

dup of #49961

Looks like the two issues created almost at the same time!

@Dr-Irv Dr-Irv closed this as completed Nov 29, 2022
@rhshadrach
Copy link
Member Author

Hah, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants