arkouda.array_api.set_functions

Classes

Functions

unique_all(→ UniqueAllResult)

Return a tuple of arrays containing:

unique_counts(→ UniqueCountsResult)

Return a tuple of arrays containing:

unique_inverse(→ UniqueInverseResult)

Return a tuple of arrays containing:

unique_values(→ arkouda.array_api.array_object.Array)

Return an array containing the unique values from x.

Module Contents

class arkouda.array_api.set_functions.UniqueAllResult[source]

Bases: NamedTuple

counts: arkouda.array_api.array_object.Array
indices: arkouda.array_api.array_object.Array
inverse_indices: arkouda.array_api.array_object.Array
values: arkouda.array_api.array_object.Array
class arkouda.array_api.set_functions.UniqueCountsResult[source]

Bases: NamedTuple

counts: arkouda.array_api.array_object.Array
values: arkouda.array_api.array_object.Array
class arkouda.array_api.set_functions.UniqueInverseResult[source]

Bases: NamedTuple

inverse_indices: arkouda.array_api.array_object.Array
values: arkouda.array_api.array_object.Array
arkouda.array_api.set_functions.unique_all(x: arkouda.array_api.array_object.Array, /) UniqueAllResult[source]

Return a tuple of arrays containing: - the unique values in x - the indices of the first occurrence of each unique value - the inverse indices that reconstruct x from the unique values - the counts of each unique value

arkouda.array_api.set_functions.unique_counts(x: arkouda.array_api.array_object.Array, /) UniqueCountsResult[source]

Return a tuple of arrays containing: - the unique values in x - the counts of each unique value

arkouda.array_api.set_functions.unique_inverse(x: arkouda.array_api.array_object.Array, /) UniqueInverseResult[source]

Return a tuple of arrays containing: - the unique values in x - the inverse indices that reconstruct x from the unique values

arkouda.array_api.set_functions.unique_values(x: arkouda.array_api.array_object.Array, /) arkouda.array_api.array_object.Array[source]

Return an array containing the unique values from x.