nichesphere.tl.unique

Contents

nichesphere.tl.unique#

nichesphere.tl.unique(array)#

get unique elements in array without re-sorting

Parameters:

array (np.array)

Returns:

uniq[index.argsort()]

Return type:

np.array of unique elements of the original array in original order