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

DOC: Remove outdated comment, use DateOffset instead of BaseOffset in docs #61097

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarcoGorelli
Copy link
Member

@MarcoGorelli MarcoGorelli commented Mar 10, 2025

@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 10, 2025 20:58
@MarcoGorelli MarcoGorelli changed the title Remove outdated comment DOC: Remove outdated comment, use DateOffset instead of BaseOffset in docs Mar 11, 2025
Copy link
Member

@rhshadrach rhshadrach left a comment

Choose a reason for hiding this comment

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

What's the answer to #60886 (comment)?

Comment on lines 2977 to 2979
if (res := method(*args, **kwargs)) is not None:
return Series(res, index=self._index, name=self._name)
Copy link
Member

Choose a reason for hiding this comment

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

These are no more readable (honestly they seem even be less readable) and don't impact behavior or performance. Seems like needless code churn to me, but if others really want this no strong objection.

Copy link
Member Author

Choose a reason for hiding this comment

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

that's fair, I'll revert 👍

@MarcoGorelli MarcoGorelli force-pushed the remove-outdated-comment branch from 9ac3eca to 53f658d Compare March 11, 2025 21:00
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.

DOC: should DateOffset always be used instead of BaseOffset?
2 participants