AlenkaF commented on PR #39272:
URL: https://github.com/apache/arrow/pull/39272#issuecomment-1860738914
> Forgot to ask: does this currently print timestamp's type when printing
the array? And if it does can you add a test that it prints the correct
timezone. If not we can leave it for the follow-up.
No, when printing the array there is no info about the type, one should
still inspect the type separately:
```python
>>> import pyarrow as pa
>>> a = pa.array([0], pa.timestamp('s', tz='+02:00'))
>>> a
<pyarrow.lib.TimestampArray object at 0x131399fc0>
[
1970-01-01 00:00:00Z
]
>>> a.type
TimestampType(timestamp[s, tz=+02:00])
```
as mentioned on the issue, we can add this if find important.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]