numpy.around
numpy.rint
Round an array to the given number of decimals.
Refer to around for full documentation.
See also