You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Alenka Frim (Jira)" <ji...@apache.org> on 2021/11/03 08:07:00 UTC

[jira] [Created] (ARROW-14567) [C++][Python] PrettyPrint ignores timezone

Alenka Frim created ARROW-14567:
-----------------------------------

             Summary: [C++][Python] PrettyPrint ignores timezone
                 Key: ARROW-14567
                 URL: https://issues.apache.org/jira/browse/ARROW-14567
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Alenka Frim


When printing TimestampArray in pyarrow the timezone information is ignored by PrettyPrint (__str__  calls to_string() in array.pxi).

{code:python}
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
# ]
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)