Skip to content

[C++][Python][R] PrettyPrint ignores timezone #30117

@asfimport

Description

@asfimport

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:

Note: This issue was originally created as ARROW-14567. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions