Skip to content

Remove "Y" and "M" from DatetimeUnitOptions #10306

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 4 commits into from
May 23, 2025

Conversation

spencerkclark
Copy link
Member

Since "Y" and "M" represent variable intervals of time, these are not valid options for the datetime_unit in integrate, cumulative_integrate, or differentiate. This PR updates our typing and documentation to account for this.

xref: #8000

@spencerkclark spencerkclark enabled auto-merge (squash) May 13, 2025 23:59
@spencerkclark
Copy link
Member Author

Thanks for the review @dcherian

auto-merge was automatically disabled May 21, 2025 05:47

Pull request was closed

@kmuehlbauer kmuehlbauer reopened this May 21, 2025
@kmuehlbauer kmuehlbauer enabled auto-merge (squash) May 21, 2025 05:47
auto-merge was automatically disabled May 23, 2025 05:32

Pull request was closed

@kmuehlbauer kmuehlbauer reopened this May 23, 2025
@kmuehlbauer kmuehlbauer enabled auto-merge (squash) May 23, 2025 05:32
@kmuehlbauer kmuehlbauer merged commit 4259dfa into pydata:main May 23, 2025
54 of 61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants