-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DEPR: lower/uppercase strings such as 'y', 'q', 'H', 'MIN', etc. denoting freqs/units for time series, period, and timedelta #56346
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
Closed
natmokval
wants to merge
30
commits into
pandas-dev:main
from
natmokval:depr-uppercasing-in-get-offset
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c7d82ec
deprecate lowercase strings denoting freq for week, month, monthend, …
natmokval 614710b
fix tests
natmokval 458a9c1
fix tests
natmokval e9c8af5
correct def _get_offset, fix tests
natmokval 73f68f0
add tests, fix tests
natmokval eea9b69
fix tests
natmokval 386eb57
correct parse_timedelta_unit, to_offset, fix tests, add tests
natmokval 5dcb918
resolve conflicts, fix tests, add tests
natmokval 25bfbef
fix tests
natmokval eb418eb
resolve conflicts, depr 'MIN' from to_timedelta, fix tests
natmokval 943b898
Merge branch 'main' into depr-uppercasing-in-get-offset
natmokval 435db76
deprecate 'Min' in favour of 'min'
natmokval 3cc94d2
correct docs
natmokval 457ae96
show depr warning in test_construction() for Period
natmokval 3837b7f
resolve conflict
natmokval f709557
correct warning message in test_construction()
natmokval 7cd909f
remove from to_offset() unnecessary check, fix test_to_offset_invalid
natmokval 8d1d6dd
fix pre-commit error
natmokval 6c24541
Merge branch 'main' into depr-uppercasing-in-get-offset
natmokval 286b618
add notes to /v2.2.0.rst
natmokval 606d0c5
add filterwarnings to test_to_offset_invalid, correct notes in v2.2.0…
natmokval 32993a9
improve the headline in v2.2.0.rst
natmokval dcf1994
correct depr note in v2.2.0.rst
natmokval 5443b1e
Merge branch 'main' into depr-uppercasing-in-get-offset
natmokval 7889c7d
correct to_offset() for freqs such us ys, qs, and add tests
natmokval 00e80c0
Merge branch 'main' into depr-uppercasing-in-get-offset
natmokval 0eb098e
resolve conflicts, fix tests
natmokval b6074b1
resolve conflicts
natmokval 530f056
deprecate lowercase freq 'w', 'd' from timeseries
natmokval f600538
fix tests for 'D'
natmokval File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"would allowed" -> "were allowed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you, I corrected this.