On this page
numpy.ndarray.round
method
- ndarray.round(decimals=0, out=None)
-
Return
a
with each element rounded to the given number of decimals.Refer to
numpy.around
for full documentation.See also
-
numpy.around
-
equivalent function
-
© 2005–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.ndarray.round.html