-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Adapt to deprecations in pandas 2.2.0 #3620
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3620 +/- ##
=======================================
Coverage 98.58% 98.58%
=======================================
Files 75 75
Lines 24697 24706 +9
=======================================
+ Hits 24348 24357 +9
Misses 349 349
|
@@ -2078,7 +2078,7 @@ def test_xy_native_scale_log_transform(self): | |||
|
|||
def test_datetime_native_scale_axis(self): | |||
|
|||
x = pd.date_range("2010-01-01", periods=20, freq="m") | |||
x = pd.date_range("2010-01-01", periods=20, freq="MS") |
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.
FWIW if you want to have the same values as before you need "ME" (month end, not month start). Not sure whether that matters for the test, though (you test below with "2003-02-28", which is a "month end")
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.
Ah yeah thanks, the test date here being a "month end" is just a coincidence and not critical to the test logic.
😠