Base.mean

Base.mean()

Returns the mean value in the nimble object.

See also

median

Examples

>>> lst = [[0, 22, 2], [3, 22, 5]]
>>> X = nimble.data(lst)
>>> X.mean()
9.0