Skip to content

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 361b6b2 to b13a3cf Compare April 30, 2020 05:54
@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