kou commented on code in PR #45550:
URL: https://github.com/apache/arrow/pull/45550#discussion_r1968943843
##########
python/pyarrow/array.pxi:
##########
@@ -704,6 +707,95 @@ def _restore_array(data):
return pyarrow_wrap_array(MakeArray(ad))
+cdef class ArrayStatistics(_Weakrefable):
+ """
+ The class for statistics of an array.
+ """
+
+ def __init__(self):
+ raise TypeError("Do not call {}'s constructor directly"
+ .format(self.__class__.__name__))
+
+ cdef void init(self, const shared_ptr[CArrayStatistics]& sp_statistics)
except *:
Review Comment:
Thanks! I didn't know much about `except` in Cython...
--
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]