sumMap
sumMappedArrays
Introduced in: v1.1
Totals one or more value arrays according to the keys specified in the key array. Returns a tuple of arrays: keys in sorted order, followed by values summed for the corresponding keys without overflow.
Note
- Passing a tuple of keys and value arrays is identical to passing an array of keys and an array of values.
- The number of elements in
keyand allvaluearrays must be the same for each row that is totaled.
Syntax
Arguments
Returned value
Returns a tuple of arrays: the first array contains keys in sorted order, followed by arrays containing values summed for the corresponding keys. Tuple
Examples
Basic usage with Nested type
Multiple value arrays example
See Also