NumPy

Previous topic

numpy.around

Next topic

numpy.rint

This is documentation for an old release of NumPy (version 1.18). Read this page in the documentation of the latest stable release (version 2.2).

numpy.round_

numpy.round_(a, decimals=0, out=None)[source]

Round an array to the given number of decimals.

See also

around

equivalent function; see for details.