float-to-datetime conversion fixes
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)
commitd4b1fe5b5c0b12c81bd152c2b24811f2ddfe67f8
treec964caca37f20108619ec727f664540e66fb10ef
parenta83ea39e94929a0ec7cee0c685b0eee86db8788d
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