[
https://issues.apache.org/jira/browse/ARROW-12576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Javier updated ARROW-12576:
---------------------------
Description:
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}
was:
I have data loaded as DatetimeNoLeap that is not recognized by PyArrow.
Should this be supported by Apache Arrow?
{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}
> 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: Blocker
>
> 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.3.4#803005)