turicreate.SArray.max

SArray.max()

Get maximum numeric value in SArray.

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

Returns:
out : type of SArray

Maximum value of SArray

See also

min

Examples

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