sharkdtu opened a new issue, #45644:
URL: https://github.com/apache/arrow/issues/45644

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Timestamptz type loses its time zone after map transforming.
   
   ## 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to