Example:
In [15]: import pyarrow as pa
In [16]: pa.array([1, pa.NA])
ArrowInvalid: Could not convert <pyarrow.NullScalar: None> with type pyarrow.lib.NullScalar: did not recognize Python value type when inferring an Arrow data type
I would be great if this could be equivalent to
In [17]: pa.array([1, pa.NA], mask=[False, True])
Out[17]:
<pyarrow.lib.Int64Array object at 0x7fe49c172b80>
[
1,
null
]
In [18]: pa.__version__
Out[18]: '7.0.0'
Reporter: Matthew Roeschke / @mroeschke
Related issues:
Note: This issue was originally created as ARROW-16645. Please see the migration documentation for further details.