Points.sum

Points.sum()

Returns a nimble object representing the sum along the points axis.

Examples

>>> lst = [[0, 22, 2], [3, 22, 5]]
>>> X = nimble.data(lst)
>>> X.points.sum()
<Matrix 2pt x 1ft
     sum
   ┌────
 0 │  24
 1 │  30
>