Marco Neumann created ARROW-2554: ------------------------------------ Summary: pa.array type inference bug when using NS-timestamp Key: ARROW-2554 URL: https://issues.apache.org/jira/browse/ARROW-2554 Project: Apache Arrow Issue Type: Bug Components: Python Affects Versions: 0.9.0 Reporter: Marco Neumann
The following fails: {noformat} import pandas as pd import pyarrow as pa pa.array([pd.Timestamp('now').to_datetime64()]) {noformat} with {{ArrowNotImplementedError: Cannot convert NumPy datetime64 objects with differing unit}}, but when you provide the correct type information directly, it works: {noformat} import pandas as pd import pyarrow as pa pa.array([pd.Timestamp('now').to_datetime64()], type=pa.timestamp('ns')) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)