Describe the bug, including details regarding any error messages, version, and platform.
In [1]: import pyarrow as pa
In [4]: pa.array(pa.array([float("nan"), None]), from_pandas=True)
Out[4]:
<pyarrow.lib.DoubleArray object at 0x7f91bbd90f40>
[
nan,
null
]
In [5]: pa.__version__
Out[5]: '14.0.1'
If an arrow array is considered an ndarray-like data according to the docs, I would assume the nan would be inferred as null
Component(s)
Python
Describe the bug, including details regarding any error messages, version, and platform.
If an arrow array is considered an ndarray-like data according to the docs, I would assume the nan would be inferred as null
Component(s)
Python