turicreate.SArray.sum

SArray.sum()

Sum of all values in this SArray.

Raises an exception if called on an SArray of strings, lists, or dictionaries. If the SArray contains numeric arrays (array.array) and all the arrays are the same length, the sum over all the arrays will be returned. Returns None on an empty SArray. For large values, this may overflow without warning.

Returns:
out : type of SArray

Sum of all values in SArray