-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: fix to_timestamp out_of_bounds #27916
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
@@ -30,9 +30,6 @@ def test_asfreq_near_zero_weekly(self): | |||
assert week1.asfreq("D", "E") >= per1 | |||
assert week2.asfreq("D", "S") <= per2 | |||
|
|||
@pytest.mark.xfail( | |||
reason="GH#19643 period_helper asfreq functions fail to check for overflows" | |||
) | |||
def test_to_timestamp_out_of_bounds(self): | |||
# GH#19643, currently gives Timestamp('1754-08-30 22:43:41.128654848') |
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.
you can remove this comment as well I think?
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.
updated
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.
i guess this is a bug fix, can you add a note, ok for 0.25.1 i think.
added whatsnew, found this also fixes the analogous bug in PeriodIndex, need to add test for that |
updated with additional test |
@jorisvandenbossche gentle ping |
Thanks! |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff