numpy.
round_
Round an array to the given number of decimals.
See also
around
equivalent function; see for details.