Skip to content

DOC: add missing parameters to offsets classes: BYearEnd, BusinessHour, WeekOfMonth #53183

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

Conversation

natmokval
Copy link
Contributor

@natmokval natmokval commented May 11, 2023

Updated documentation for offsets classes: BYearEnd, BusinessHour, WeekOfMonth, added missing parameters.

@mroeschke mroeschke requested a review from MarcoGorelli May 15, 2023 20:28
@mroeschke mroeschke added the Frequency DateOffsets label May 15, 2023
@natmokval natmokval marked this pull request as ready for review May 16, 2023 07:41
@MarcoGorelli MarcoGorelli added this to the 2.1 milestone May 16, 2023
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 @natmokval

I've changed this to "xref" instead of "closes", as there are still some classes where there are missing parameters

@MarcoGorelli MarcoGorelli merged commit 8894dcc into pandas-dev:main May 16, 2023
The number of years represented.
normalize : bool, default False
Normalize start/end dates to midnight before generating date range.
month : int, default 1
Copy link
Member

Choose a reason for hiding this comment

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

ah missed this, the default is actually 12, not 1 - fancy opening a follow-up to fix this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you, @MarcoGorelli. I will open a new pr, add missing parameters to some classes and correct the default value for month.

Rylie-W pushed a commit to Rylie-W/pandas that referenced this pull request May 19, 2023
topper-123 pushed a commit to topper-123/pandas that referenced this pull request May 22, 2023
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
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