float-to-datetime conversion fixes
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)
commit0262b1fbeff3b978105df0ec6acb88c831ff9bb6
tree2d40ee8ccbf72c67ed30e17c9a0897558327338f
parent1acae1d27964b318ffabaf862ad97e00542cef2a
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