Array manipulation 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.

Basic operations#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

copyto

copyto

Y

shape

shape

Y

Changing array shape#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

reshape

reshape

Y

ravel

ravel

Y

ndarray.flat

ndarray.flat

Y

ndarray.flatten

ndarray.flatten

Y

Transpose-like operations#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

moveaxis

moveaxis

Y

rollaxis

rollaxis

Y

swapaxes

swapaxes

Y

ndarray.T

ndarray.T

Y

transpose

transpose

Y

Changing number of dimensions#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

atleast_1d

atleast_1d

Y

atleast_2d

atleast_2d

Y

atleast_3d

atleast_3d

Y

broadcast

broadcast

Y

broadcast_to

broadcast_to

Y

broadcast_arrays

broadcast_arrays

Y

expand_dims

expand_dims

Y

squeeze

squeeze

Y

Changing kind of array#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

asarray

asarray

Y

asanyarray

asanyarray

Y

asmatrix

asmatrix

Y

asfarray

asfarray

Y

asfortranarray

asfortranarray

Y

ascontiguousarray

ascontiguousarray

Y

asarray_chkfinite

asarray_chkfinite

Y

require

require

Y

Joining arrays#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

concatenate

concatenate

Y

stack

stack

Y

block

block

Y

vstack

vstack

Y

hstack

hstack

Y

dstack

dstack

Y

column_stack

column_stack

Y

row_stack

row_stack

Y

Splitting arrays#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

split

split

Y

array_split

array_split

Y

dsplit

dsplit

Y

hsplit

hsplit

Y

vsplit

vsplit

Y

Tiling arrays#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

tile

tile

Y

repeat

repeat

Y

Adding and removing elements#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

delete

delete

Y

insert

insert

Y

append

append

Y

resize

resize

Y

trim_zeros

trim_zeros

Y

unique

unique

Y

Rearranging elements#

xorbits.numpy

numpy

Implemented? (Y/N/P/D)

Notes for Current implementation

flip

flip

Y

fliplr

fliplr

Y

flipud

flipud

Y

reshape

reshape

Y

roll

roll

Y

rot90

rot90

Y