pyarrow.compute.sum

pyarrow.compute.sum(array)[source]

Sum the values in a numerical (chunked) array.

Parameters

array (pyarrow.Array or pyarrow.ChunkedArray) –

Returns

sum (pyarrow.Scalar)