Skip to main content

unique_values

Function unique_values 

Source
pub fn unique_values<T, D>(a: &Array<T, D>) -> FerrayResult<Array<T, Ix1>>
where T: Element + PartialOrd + Copy, D: Dimension,
Expand description

Sorted unique values of the (flattened) array.

Array-API-standard alias for unique with no extra return arrays. Equivalent to numpy.unique_values(x).