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

Method round

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

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

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