8000 np.roll improvements · Issue #5867 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
np.roll improvements #5867
Open
Open
@anntzer

Description

@anntzer

Two quick suggestions:

  • add an inplace={False|True} (or perhaps just out, like for the ufuncs).
  • support shifting along multiple axes simultaneously: either allow shift to be an array-like of length equal to the array's ndim, or allow passing two sequences, shift and axis, of the same length (or allow both).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0