Skip to content

DOC: Improve DateOffset docstring with constructor and examples (#52431) #61476

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

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

Conversation

ericzhihuang
Copy link

Updates the docstring for the DateOffset class in offsets.pyx.

Changes:

  • Added a constructor signature and parameter documentation

This addresses part of issue #52431 (documentation improvements for offset constructors).

@datapythonista
Copy link
Member

Thanks for the contribution @ericzhihuang, but I don't understand the changes here. This docstring already has examples and see also sections, you are adding new ones in the middle of the description.

Can you have a look, make sure that the docstring makes sense as a whole, and also check that the CI is happy. I guess it's red because the errors mentioned.

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.

2 participants