Skip to content

Status of aliased/wrapped functions, including numpy.cumproduct, np.alltrue, np.sometrue. #14584

@stuartarchibald

Description

@stuartarchibald

These functions exist and are part of the public API.

  • round_ (has docstring, has documentation)
  • product (has docstring, no documentation)
  • cumproduct (has docstring, no documentation)
  • sometrue (has docstring, no documentation)
  • alltrue (has docstring, no documentation)
  • rank (has docstring, no documentation)

they also all trivially alias/wrap something else in the API that is more prevalent and clearly supported/documented.

Numba has just received PRs to enable support for a few of these functions, but I am now wondering if they are actually needed in NumPy itself. There seems to be limited internal references in the NumPy code base to the above.

This ticket is of a similar ilk to #14155.

Thanks in advance for your input!

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