MCPcopy
hub / github.com/dask/dask / copy

Method copy

dask/array/core.py:2944–2948  ·  view source on GitHub ↗

Copy array. This is a no-op for dask.arrays, which are immutable

(self)

Source from the content-addressed store, hash-verified

2942 return round(self, decimals=decimals)
2943
2944 def copy(self):
2945 """
2946 Copy array. This is a no-op for dask.arrays, which are immutable
2947 """
2948 return Array(self.dask, self.name, self.chunks, meta=self)
2949
2950 def __deepcopy__(self, memo):
2951 c = self.copy()

Callers 15

__deepcopy__Method · 0.95
read_block_from_fileFunction · 0.45
binopFunction · 0.45
test_resolve_aliasesFunction · 0.45
test_convert_resolveFunction · 0.45
tmp_conf_dirFunction · 0.45
test_do_not_mutate_inputFunction · 0.45

Calls 1

ArrayClass · 0.70

Tested by 15

binopFunction · 0.36
test_resolve_aliasesFunction · 0.36
test_convert_resolveFunction · 0.36
tmp_conf_dirFunction · 0.36
test_do_not_mutate_inputFunction · 0.36
arrFunction · 0.36
test_array_copy_noopFunction · 0.36