edponce commented on pull request #10896:
URL: https://github.com/apache/arrow/pull/10896#issuecomment-901387673


   Add Python tests that make use of the `nan_is_null` option, see 
https://github.com/apache/arrow/blob/master/python/pyarrow/tests/test_compute.py#L1302
   ```python
   import math
   arr = pa.array([1, 2, 3, None, math.nan])
   arr.is_null()                  # expected = pa.array([False, False, False, 
True, False])
   arr.is_null(nan_is_null=True)  # expected = pa.array([False, False, False, 
True, True])
   ```


-- 
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]


Reply via email to