Points.mode

Points.mode()

Retirms a nimble object representing the mode along the points axis.

Examples

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