Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[OP] Array manipulation #3200

Closed
mli opened this issue Sep 2, 2016 · 0 comments
Closed

[OP] Array manipulation #3200

mli opened this issue Sep 2, 2016 · 0 comments

Comments

@mli
Copy link
Member

mli commented Sep 2, 2016

See context #3198

Please feel free to edit this thread or leave comment.

Basic operations

Numpy Status Assignee Comments
copyto v

Changing array shape

Numpy Status Assignee Comments
reshape v
ravel x
ndarray.flat x
ndarray.flatten x

Transpose

Numpy Status Assignee Comments
moveaxis x
rollaxis x
swapaxes v @starimpact
ndarray.T v
transpose p require mx.nd.tranpose(d) instead of a.transpose()

Changing number of dimensions

Numpy Status Assignee Comments
atleast_1d x
atleast_2d x
atleast_3d x
broadcast ?
broadcast_to v
broadcast_arrays x
expand_dims v
squeeze x

Changing kind of array

Numpy Status Assignee Comments
asarray p there is nd.array
asanyarray =
asmatrix =
asfarray x
asfortranarray =
ascontiguousarray ?
asarray_chkfinite x
asscalar v
require ?

Joining arrays

Numpy Status Assignee Comments
concatenate v axis support with dim
stack v
column_stack x
dstack x
hstack x
vstack x

Splitting arrays

Numpy Status Assignee Comments
split p differ from numpy
array_split x
dsplit x
hsplit x
vsplit x

Tiling arrays

Numpy Status Assignee Comments
tile v
repeat v

Adding and removing elements

Numpy Status Assignee Comments
delete x
insert x
append x
resize x
trim_zeros x
unique x

Rearranging elements

Numpy Status Assignee Comments
flip x
fliplr x
flipud x
reshape v
roll x
rot x
@piiswrong piiswrong added this to the v1.0 milestone Sep 2, 2016
@D-X-Y D-X-Y mentioned this issue Oct 18, 2016
@tqchen tqchen closed this as completed Oct 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants