🍾 Xarray is now 10 years old! 🎉

xarray.DataArray.round

xarray.DataArray.round#

DataArray.round(*args, **kwargs)[source]#

Round an array to the given number of decimals.

around is an alias of ~numpy.round.

See also

ndarray.round

equivalent method

round

alias for this function

ceil, fix, floor, rint, trunc