sgilmore10 opened a new issue, #38422:
URL: https://github.com/apache/arrow/issues/38422
### Describe the enhancement requested
It would be nice if there was a `NumNulls` property on the
`arrow.array.Array` base class. Currently, the only way to figure out the
number of nulls is count the number of `false` values in the `Valid` array:
```matlab
>> a = arrow.array([1 2 NaN 4 5 6 NaN 8 9 10 NaN]);
>> invalidValues = ~a.Valid;
>> numNulls = nnz(invalidValues)
numNulls =
3
```
It would be nice if `NumNulls` was already a property on the array class. As
@kou mentioned, we can use the `arrow::Array::null_count()` to get the number
of nulls.
### Component(s)
MATLAB
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]