numpy.
round_
Round an array to the given number of decimals.
See also
around
numpy.around
numpy.rint