Skip to content

Conversation

@jbrockmendel
Copy link
Member

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')
Copy link
Member

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@jreback jreback added Compat pandas objects compatability with Numpy or Python functions Period Period data type labels Aug 15, 2019
Copy link
Contributor

@jreback jreback left a 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.

@jbrockmendel
Copy link
Member Author

added whatsnew, found this also fixes the analogous bug in PeriodIndex, need to add test for that

@jbrockmendel
Copy link
Member Author

updated with additional test

@jbrockmendel
Copy link
Member Author

@jorisvandenbossche gentle ping

@jorisvandenbossche jorisvandenbossche added this to the 0.25.1 milestone Aug 20, 2019
@jorisvandenbossche jorisvandenbossche merged commit 0a7bb2a into pandas-dev:master Aug 20, 2019
@jorisvandenbossche
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compat pandas objects compatability with Numpy or Python functions Period Period data type

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Period.asfreq issue caused(?) by C division rules

3 participants