You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:18:04 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17658922#comment-17658922 ]
Rok Mihevc commented on ARROW-1891:
-----------------------------------
This issue has been migrated to [issue #17885|https://github.com/apache/arrow/issues/17885] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.
> [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 Korn
> Assignee: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> 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
(v8.20.10#820010)