You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2020/06/08 13:56:29 UTC

[arrow] branch master updated: ARROW-9066: [Python] Raise correct error in isnull()

This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 7dc2dac  ARROW-9066: [Python] Raise correct error in isnull()
7dc2dac is described below

commit 7dc2dac8243e82a04b0263e4d42e85a9fbf18e5f
Author: Uwe L. Korn <uw...@quantco.com>
AuthorDate: Mon Jun 8 15:55:58 2020 +0200

    ARROW-9066: [Python] Raise correct error in isnull()
    
    Closes #7375 from xhochy/ARROW-9066
    
    Authored-by: Uwe L. Korn <uw...@quantco.com>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 python/pyarrow/array.pxi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyarrow/array.pxi b/python/pyarrow/array.pxi
index 9aefdbf..8c9b9ce 100644
--- a/python/pyarrow/array.pxi
+++ b/python/pyarrow/array.pxi
@@ -866,7 +866,7 @@ cdef class Array(_PandasConvertible):
             return 0
 
     def isnull(self):
-        raise NotImplemented
+        raise NotImplementedError()
 
     def __getitem__(self, key):
         """