Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Currently we don't support using pandas.NA at all:
In [1]: import pyarrow as pa In [2]: import pandas as pd In [3]: pa.array([pd.NA, "A"]) --------------------------------------------------------------------------- ArrowInvalid Traceback (most recent call last) <ipython-input-3-77e774fa8521> in <module> ----> 1 pa.array([pd.NA, "A"]) ~/miniconda3/envs/fletcher/lib/python3.8/site-packages/pyarrow/array.pxi in pyarrow.lib.array() ~/miniconda3/envs/fletcher/lib/python3.8/site-packages/pyarrow/array.pxi in pyarrow.lib._sequence_to_array() ~/miniconda3/envs/fletcher/lib/python3.8/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status() ArrowInvalid: Could not convert <NA> with type NAType: did not recognize Python value type when inferring an Arrow data type
Attachments
Issue Links
- is depended upon by
-
ARROW-9401 [C++/Python] Support necessary functionality to have an Arrow-string type in pandas
-
- Open
-
- links to