Skip to content

DEP: Deprecate np.round_ #22617

Closed
Closed

Description

@InessaPawson

Issue with current documentation:

In NumPy, there are several functions that allow even rounding to a given number of decimals: np.around, np.round, np.round_.
The function np.round_ is a disrecommended backwards-compatibility alias of the first two.

Idea or request for content:

As per @charris recommendation #22615 (comment), I propose deprecating np.round_ to avoid further user confusion.

Refer to #22527 for more context.

Activity

  1. rgommers commented on Nov 20, 2022

    @rgommers
    Member

    +1 good idea, thanks for working on this

  2. rgommers commented on Feb 28, 2023

    @rgommers
    Member

    I'll have a go at this one. Making a tiny dent in the long wish list of deprecations for 1.25.0/2.0

  3. added 2 commits that reference this issue on Feb 28, 2023
    dadc962
    768bbec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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