pyarrow.compute.sum¶
-
pyarrow.compute.
sum
(array, *, memory_pool=None, options=None, skip_nulls=True, min_count=1)¶ Compute the sum of a numeric array.
Null values are ignored by default. Minimum count of non-null values can be set and null is returned if too few are present. This can be changed through ScalarAggregateOptions.
- Parameters
array (Array-like) – Argument to compute function
memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.
options (pyarrow.compute.ScalarAggregateOptions, optional) – Parameters altering compute function semantics
**kwargs (optional) – Parameters for ScalarAggregateOptions constructor. Either options or **kwargs can be passed, but not both at the same time.