You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
rgommers commentedon Nov 20, 2022
+1 good idea, thanks for working on this
rgommers commentedon Feb 28, 2023
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
DEP: deprecate `np.round_`
DEP: deprecate `np.round_`