-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
clean: simplify lite-rule-alias and dont-uppercase #59240
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -760,7 +760,7 @@ def test_date_range_frequency_M_Q_Y_raises(self, freq): | |
with pytest.raises(ValueError, match=msg): | ||
pd.date_range("1/1/2000", periods=4, freq=freq) | ||
|
||
@pytest.mark.parametrize("freq_depr", ["2MIN", "2mS", "2Us"]) | ||
@pytest.mark.parametrize("freq_depr", ["2MIN", "2nS", "2Us"]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With this PR, |
||
def test_date_range_uppercase_frequency_deprecated(self, freq_depr): | ||
# GH#9586, GH#54939 | ||
depr_msg = f"'{freq_depr[1:]}' is deprecated and will be removed in a " | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -788,9 +788,7 @@ def test_get_offset(): | |
|
||
pairs = [ | ||
("B", BDay()), | ||
("b", BDay()), | ||
("bme", BMonthEnd()), | ||
("Bme", BMonthEnd()), | ||
("BME", BMonthEnd()), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes, seems reasonable to me |
||
("W-MON", Week(weekday=0)), | ||
("W-TUE", Week(weekday=1)), | ||
("W-WED", Week(weekday=2)), | ||
|
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.
It never made much sense to me that
'MS'
was in this list. It's been there since forever, but it looks odd -'MS'
is already uppercase 😄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.
agree, it was always confusing for me.