[
https://issues.apache.org/jira/browse/ARROW-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16280147#comment-16280147
]
Uwe L. Korn commented on ARROW-1891:
------------------------------------
[~wesmckinn] is this expected behaviour or a bug? I could not infer that from
the comment on {{pa.array()}}.
> [Python] NaT date32 values are only converted to nulls if from_pandas is used
> -----------------------------------------------------------------------------
>
> Key: ARROW-1891
> URL: https://issues.apache.org/jira/browse/ARROW-1891
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Uwe L. Korn
>
> {code}
> np.array([None, date(2017, 4, 4)], dtype='datetime64[D]')
> pa.array(expected, from_pandas=True) -> [null, 2017-4-4]
> pa.array(expected, from_pandas=True) -> [1970-1-1, 2017-4-4]
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)