You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug, including details regarding any error messages, version, and platform.
Timestamptz type loses its time zone after to_numpy.
Versions / Dependencies
In [44]: pa.__version__
Out[44]: '19.0.1'
Reproduction script
In [39]: import pyarrow as pa
In [40]: x = pa.array([1735689600, 1735689600, 1735689600], type=pa.timestamp("s", tz='UTC'))
In [41]: print(x.type)
timestamp[s, tz=UTC]
In [42]: y = x.to_numpy()
In [43]: print(y.dtype)
datetime64[s]
Component(s)
Python
The text was updated successfully, but these errors were encountered:
sharkdtu
changed the title
[Python] Timestamptz type loses its time zone after map transforming.
[Python] Timestamp with tz loses its time zone after to_numpyFeb 28, 2025
Describe the bug, including details regarding any error messages, version, and platform.
Timestamptz type loses its time zone after
to_numpy
.Versions / Dependencies
Reproduction script
Component(s)
Python
The text was updated successfully, but these errors were encountered: