You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/03/03 16:16:00 UTC
[jira] [Updated] (ARROW-12576) [Python] Inferring cftime._cftime.DatetimeNoLeap raises ArrowInvalid
[ https://issues.apache.org/jira/browse/ARROW-12576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche updated ARROW-12576:
------------------------------------------
Priority: Minor (was: Blocker)
> [Python] Inferring cftime._cftime.DatetimeNoLeap raises ArrowInvalid
> --------------------------------------------------------------------
>
> Key: ARROW-12576
> URL: https://issues.apache.org/jira/browse/ARROW-12576
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 3.0.0
> Reporter: Javier
> Priority: Minor
>
> I have data loaded as DatetimeNoLeap that is not recognized by PyArrow.
> Should this be supported by Apache Arrow?
> This happens when I call pyarrow.array(data)
> {noformat}
> File "pyarrow/array.pxi", line 301, in pyarrow.lib.array
> File "pyarrow/array.pxi", line 83, in pyarrow.lib._ndarray_to_array
> File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status
> pyarrow.lib.ArrowInvalid: Could not convert 2018-01-13 09:00:00 with type cftime._cftime.DatetimeNoLeap: did not recognize Python value type when inferring an Arrow data type
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)