Fokko commented on code in PR #34184:
URL: https://github.com/apache/arrow/pull/34184#discussion_r1122788284


##########
python/pyarrow/array.pxi:
##########
@@ -1253,6 +1253,16 @@ cdef class Array(_PandasConvertible):
         options = _pc().NullOptions(nan_is_null=nan_is_null)
         return _pc().call_function('is_null', [self], options)
 
+    def is_nan(self):
+        """
+        Return BooleanArray indicating the nan values.
+
+        Returns
+        -------
+        array : boolean Array, where null values are None

Review Comment:
   That a null value, will result in a Python None:
   
https://github.com/apache/arrow/blob/df625f2abf7f460b9935503998c075ad9f3c5e62/python/pyarrow/tests/test_compute.py#L1639-L1643



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