You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2017/12/06 13:04:01 UTC

[jira] [Updated] (ARROW-1891) [Python] NaT date32 values are only converted to nulls if from_pandas is used

     [ https://issues.apache.org/jira/browse/ARROW-1891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uwe L. Korn updated ARROW-1891:
-------------------------------
    Fix Version/s: 0.8.0

> [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
>             Fix For: 0.8.0
>
>
> {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)