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:09:02 UTC

[jira] [Commented] (ARROW-370) Python: Pandas conversion from `datetime.date` columns

    [ https://issues.apache.org/jira/browse/ARROW-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17657404#comment-17657404 ] 

Rok Mihevc commented on ARROW-370:
----------------------------------

This issue has been migrated to [issue #15933|https://github.com/apache/arrow/issues/15933] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details.

> Python: Pandas conversion from `datetime.date` columns
> ------------------------------------------------------
>
>                 Key: ARROW-370
>                 URL: https://issues.apache.org/jira/browse/ARROW-370
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: Python
>            Reporter: Uwe Korn
>            Assignee: Uwe Korn
>            Priority: Major
>              Labels: newbie
>             Fix For: 0.2.0
>
>
> It seems to be a common practice to store some columns as Python {{datetime.date}} to avoid issues with far future/past dates in Pandas. We can natively store this data in Arrow as well in Parquet but there is no conversion available yet. A simple way could be to provide a path pandas.Series -> numpy.ndarray(datetime64[D]) -> arrow.Array(DATE))



--
This message was sent by Atlassian Jira
(v8.20.10#820010)