MCPcopy Create free account
hub / github.com/dask/dask / round

Method round

dask/array/core.py:2929–2940  ·  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

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

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