turicreate.SArray.unique — Turi Create API 6.4.1 documentation (original) (raw)

Turi Create API


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.