>>>importnumpyasnp, pyarrowaspa>>>pa.array(np.ma.array([0]))
I think the issue might be here because when the masked array has a shrunken mask, it's values is False rather than the boolean mask array.
ifisinstance(values, np.ma.MaskedArray):
ifmaskisnotNone:
raiseValueError("Cannot pass a numpy masked array and ""specify a mask at the same time")
else:
mask=values.maskvalues=values.dataReporter: Daniel Nugent / @nugend
Assignee: Daniel Nugent / @nugend
PRs and other links:
Note: This issue was originally created as ARROW-8105. Please see the migration documentation for further details.
I think the issue might be here because when the masked array has a shrunken mask, it's values is False rather than the boolean mask array.
Reporter: Daniel Nugent / @nugend
Assignee: Daniel Nugent / @nugend
PRs and other links:
Note: This issue was originally created as ARROW-8105. Please see the migration documentation for further details.