float-to-datetime conversion fixes
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)
commita68d8dece46a64a33d6ff8b14c26724d16851cf7
tree3907b62940048bbb295a19667400f14aef915c38
parent4a84cce66188da87356a21097abb0ead5679d7e6
float-to-datetime conversion fixes

Avoid assuming that NaN casts to NaT (= fails on riscv64/hppa ?)
Don't round to int for the bounds check when we don't for the real
conversion (wrong near the bounds, and maybe also a waste of time)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/pandas-dev/pandas/pull/50183

Gbp-Pq: Name float_to_datetime.patch
pandas/_libs/tslib.pyx