Base.median

Base.median()

Returns the median value in the nimble object.

See also

mean

Examples

>>> lst = [[0, 22, 2], [33, 22, 5]]
>>> X = nimble.data(lst)
>>> X.median()
13.5