numpy / 1.18.5 / reference / generated / numpy.ma.masked_array.round.html /

numpy.ma.masked_array.round

method

masked_array.round(self, decimals=0, out=None) [source]

Return each element rounded to the given number of decimals.

Refer to numpy.around for full documentation.

See also

numpy.ndarray.around

corresponding function for ndarrays

numpy.around

equivalent function

© 2005–2020 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.18/reference/generated/numpy.ma.masked_array.round.html