Points.mean

Points.mean()

Returns a nimble object representing the mean value along the points axis.

See also

median

Examples

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