cupynumeric.unique_values#
- cupynumeric.unique_values(
- x: ndarray,
- /,
Find the unique values in an array.
Each NaN is treated as a distinct value. Results are currently sorted, with NaNs placed after non-NaN values.
- Parameters:
x (array_like) – Input array. The values are flattened before grouping.
- Returns:
out – The unique values from x.
- Return type:
See also
- Availability:
Multiple GPUs, Multiple CPUs