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

Method round

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

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

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