-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Description
When printing TimestampArray in pyarrow the timezone information is ignored by PrettyPrint (str calls to_string() in array.pxi).
import pyarrow as pa
a = pa.array([0], pa.timestamp('s', tz='+02:00'))
print(a) # representation not correct?
# <pyarrow.lib.TimestampArray object at 0x7f834c7cb9a8>
# [
# 1970-01-01 00:00:00
# ]Reporter: Alenka Frim / @AlenkaF
Watchers: Rok Mihevc / @rok
Related issues:
- PrettyPrint Improvements (is a child of)
- [Python] datetime shifted when using pyarrow.Table.from_pandas to load a pandas DateFrame containing datetime with timezone (causes)
- [R] fix behaviour when converting timestamps with "" as tzone (relates to)
Note: This issue was originally created as ARROW-14567. Please see the migration documentation for further details.