MCPcopy
hub / github.com/dask/dask / round

Method round

dask/array/core.py:2931–2942  ·  view source on GitHub ↗

Return array with each element rounded to the given number of decimals. Refer to :func:`dask.array.round` for full documentation. See Also -------- dask.array.round : equivalent function

(self, decimals=0)

Source from the content-addressed store, hash-verified

2929 return swapaxes(self, axis1, axis2)
2930
2931 def round(self, decimals=0):
2932 """Return array with each element rounded to the given number of decimals.
2933
2934 Refer to :func:`dask.array.round` for full documentation.
2935
2936 See Also
2937 --------
2938 dask.array.round : equivalent function
2939 """
2940 from dask.array.routines import round
2941
2942 return round(self, decimals=decimals)
2943
2944 def copy(self):
2945 """

Callers 7

repeatFunction · 0.45
test_min_max_round_funcsFunction · 0.45
test_roundFunction · 0.45
test_masked.pyFile · 0.45
test_sparse.pyFile · 0.45
test_cupy_core.pyFile · 0.45
repeatFunction · 0.45

Calls 1

roundFunction · 0.90

Tested by 2

test_min_max_round_funcsFunction · 0.36
test_roundFunction · 0.36