arkouda.array_api.indexing_functions

Functions

take(→ arkouda.array_api.array_object.Array)

Get the specified elements of an array along an axis.

Module Contents

arkouda.array_api.indexing_functions.take(x: arkouda.array_api.array_object.Array, indices: arkouda.array_api.array_object.Array, /, *, axis: int | None = None) arkouda.array_api.array_object.Array[source]

Get the specified elements of an array along an axis.

Parameters:
  • x (Array) – The array from which to take elements

  • indices (Array) – A 1D integer array of indices to take from x

  • axis (int, optional) – The axis along which to take elements. If None, x must be 1D.