turicreate.Sketch.num_unique

Sketch.num_unique()

Returns a sketched estimate of the number of unique values in the SArray based on the Hyperloglog sketch.

Returns:
out : float

An estimate of the number of unique values in the SArray.