Points.uniqueCount

Points.uniqueCount()

Returns a nimble object representing the number of unique values along the points axis.

Examples

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