Skip to content
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

Fix Dataframe.apply documentation to include note regarding calling f… #33880

Closed
wants to merge 1 commit into from

Conversation

alonme
Copy link
Contributor

@alonme alonme commented Apr 29, 2020

…unction twice on first element

@alonme alonme force-pushed the gh-33879-fix-df-apply-doc branch from b13a3cf to 3584b52 Compare May 1, 2020 08:05
@WillAyd
Copy link
Member

WillAyd commented May 1, 2020

So looks like there is confusion over the fact that DataFrameGroupBy.apply only calls the function once but DataFrame.apply still calls twice right? Any interest in just trying to fix the latter?

@alonme
Copy link
Contributor Author

alonme commented May 2, 2020

Very interested, however i will need some guidance as i am not familiar with the internals of the project.

@WillAyd
Copy link
Member

WillAyd commented May 6, 2020

The fix to this on the GroupBy side was #24748 which may be helpful for investigation. Otherwise take a look at the apply implementation in pandas.core.frame

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

Successfully merging this pull request may close these issues.

DOC: Fix Dataframe.apply documentation to include note regarding calling function twice on first element
2 participants