Base.uniqueCount

Base.uniqueCount()

Returns the number of unique values in the nimble object.

Examples

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