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

Method copy

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

2948 return round(self, decimals=decimals)
2949
2950 def copy(self):
2951 """
2952 Copy array. This is a no-op for dask.arrays, which are immutable
2953 """
2954 return Array(self.dask, self.name, self.chunks, meta=self)
2955
2956 def __deepcopy__(self, memo):
2957 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