Closed paleolimbot closed 3 months ago
(Micro-nit: Missing second r in Arrow in Subject)
Thank you for the detailed look!
For the zoneinfo vs dateutil, we could also bump the minimum Python version from 3.8 to 3.9
I am not sure that zoneinfo
is available on enscripten/pyodide (a brief check suggested that dateutil via micropip works but zoneinfo does not).
For timezones, there is one aspect not covered by this PR. The Arrow spec also allows fixed offsets of the form "+XX:XX" or "-XX:XX".
Good catch! This wasn't too bad to stick into the existing timezone resolver so I added it + a test case!
This PR adds support for converting Arrow date, time, timestamp, and duration arrays to Python objects.
It is probably faster to use the DateTime C API, but the timings seem reasonable: