turicreate.SArray.argmin

SArray.argmin()

Get the index of the minimum numeric value in SArray.

Returns None on an empty SArray. Raises an exception if called on an SArray with non-numeric type.

Returns:
out : int

index of the minimum value of SArray

See also

argmax

Examples

>>> turicreate.SArray([14, 62, 83, 72, 77, 96, 5, 25, 69, 66]).argmin()