turicreate.SArray.unique¶
-
SArray.
unique
()¶ Get all unique values in the current SArray.
Raises a TypeError if the SArray is of dictionary type. Will not necessarily preserve the order of the given SArray in the new SArray.
Returns: - out : SArray
A new SArray that contains the unique values of the current SArray.
See also