Indexing routines#

The following table lists both implemented and not implemented methods. If you have need of an operation that is listed as not implemented, feel free to open an issue on the GitHub repository, or give a thumbs up to already created issues. Contributions are also welcome!

The following table is structured as follows: The first column contains the method name. The second column contains link to a description of corresponding numpy method. The third column is a flag for whether or not there is an implementation in Xorbits for the method in the left column. Y stands for yes, N stands for no, P standsfor partial (meaning some parameters may not be supported yet), and D stands for default to numpy.

Generating index arrays#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

c_

c_

Y

r_

r_

Y

s_

s_

Y

nonzero

nonzero

Y

where

where

Y

indices

indices

Y

ix_

ix_

Y

ogrid

ogrid

Y

ravel_multi_index

ravel_multi_index

Y

unravel_index

unravel_index

Y

diag_indices

diag_indices

Y

diag_indices_from

diag_indices_from

Y

mask_indices

mask_indices

Y

tril_indices

tril_indices

Y

tril_indices_from

tril_indices_from

Y

triu_indices

triu_indices

Y

triu_indices_from

triu_indices_from

Y

Indexing-like operations#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

take

take

Y

take_along_axis

take_along_axis

Y

choose

choose

Y

compress

compress

Y

diag

diag

Y

diagonal

diagonal

Y

select

select

Y

lib.stride_tricks.sliding_window_view

lib.stride_tricks.sliding_window_view

Y

lib.stride_tricks.as_strided

lib.stride_tricks.as_strided

Y

Inserting data into arrays#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

place

place

Y

put

put

Y

put_along_axis

put_along_axis

Y

putmask

putmask

Y

fill_diagonal

fill_diagonal

Y

Iterating over arrays#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

nditer

nditer

Y

ndenumerate

ndenumerate

Y

ndindex

ndindex

Y

nested_iters

nested_iters

Y

flatiter

flatiter

Y

lib.Arrayterator

lib.Arrayterator

Y

iterable

iterable

Y