Skip to content

[FEATURE REQUEST] numpy.insert() #463

Open
@water5

Description

@water5

https://numpy.org/doc/1.21/reference/generated/numpy.insert.html

b = np.array([[1, 2, 3], [4, 5, 6]])

array([[1, 2, 3],
[4, 5, 6]])

np.insert(b, 1, [7, 8, 9])

array([1, 7, 8, 9, 2, 3, 4, 5, 6])

np.insert(b, 1, [7, 8, 9], axis = 0)

array([[1, 2, 3],
[7, 8, 9],
[4, 5, 6]])

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsnippet`numpy` functions that should be implemented in `python`

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions