Skip to content

DOC: Correct docstring for Series.apply #42193

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

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

rhshadrach
Copy link
Member

  • Ensure all linting tests pass, see here for how to run them

Ref: #39941 (comment) and the conversation preceding it. While I don't find @MarcoGorelli's suggestion as implemented here very clear, it at least makes it correct and I don't see a better way.

@rhshadrach rhshadrach added this to the 1.3 milestone Jun 23, 2021
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - an alternative would be to just revert #39941 ?

@rhshadrach
Copy link
Member Author

@MarcoGorelli The docstring was incorrect before #39941 - I think we should value a correct docstring here even if it's not exactly clear what the behavior is. To be sure, while I find this unclear, my opinion is that it's the implementation (changing behavior based on whether an EA has certain private method or not) that is undesirable, but I don't see a clear way to fix.

@jreback jreback merged commit 330c9f9 into pandas-dev:master Jun 24, 2021
@jreback
Copy link
Contributor

jreback commented Jun 24, 2021

thanks @rhshadrach

@jreback
Copy link
Contributor

jreback commented Jun 24, 2021

@meeseeksdev backport 1.3.x

@lumberbot-app
Copy link

lumberbot-app bot commented Jun 24, 2021

Something went wrong ... Please have a look at my logs.

@rhshadrach rhshadrach deleted the convert_dtype_docstring branch June 24, 2021 13:09
jreback pushed a commit that referenced this pull request Jun 24, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants