[ https://issues.apache.org/jira/browse/ARROW-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Neumann reassigned ARROW-2554: ------------------------------------ Assignee: Marco Neumann > 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 > Assignee: Marco Neumann > Priority: Major > Fix For: 0.10.0 > > > 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)