Florian Jetter created ARROW-2694: ------------------------------------- Summary: [Python] ArrayValue string conversion returns the representation instead of the converted python object string Key: ARROW-2694 URL: https://issues.apache.org/jira/browse/ARROW-2694 Project: Apache Arrow Issue Type: Bug Affects Versions: 0.9.0 Reporter: Florian Jetter Assignee: Florian Jetter
Example: {code} # python 3.6.5 In [1]: import pyarrow as pa In [2]: str(pa.array(['a'])[0]) # note the single quotes Out[2]: "'a'" In [3]: str(pa.array([1], pa.timestamp('s'))[0]) Out[3]: "Timestamp('1970-01-01 00:00:01')" {code} instead of {code} # python 3.6.5 In [1]: import pyarrow as pa In [2]: str(pa.array(['a'])[0]) Out[2]: "a" In [3]: str(pa.array([1], pa.timestamp('s'))[0]) Out[3]: "1970-01-01 00:00:01" {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)