zcollection.partitioning.abc.unique_and_check_monotony# zcollection.partitioning.abc.unique_and_check_monotony(arr)[source]# Return unique elements and their indices. Parameters: arr (ArrayLike) – Array of elements. is_delayed – If True, the array is delayed. Returns: Tuple of unique elements and their indices. Return type: tuple[NDArray, NDArray]