Base.mode

Base.mode()

Returns a number representing the mode of the nimble object.

Examples

>>> lst = [[1, 2, 0], [0, 0, 5]]
>>> X = nimble.data(lst)
>>> X.mode()
0