MCPcopy Create free account
hub / github.com/apache/arrow / __arrow_array__

Method __arrow_array__

python/pyarrow/tests/test_array.py:4014–4015  ·  view source on GitHub ↗
(self, type=None)

Source from the content-addressed store, hash-verified

4012 self.data2 = data2
4013
4014 def __arrow_array__(self, type=None):
4015 return pa.chunked_array([self.data1, self.data2], type=type)
4016
4017 np_arr = np.array([1, 2, 3], dtype='int64')
4018 arr = MyArray3(np_arr, np_arr)

Callers

nothing calls this directly

Calls 1

chunked_arrayMethod · 0.80

Tested by

no test coverage detected