MCPcopy Index your code
hub / github.com/pydata/xarray / change_name

Function change_name

xarray/tests/test_dask.py:1340–1343  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

1338
1339def test_map_blocks_change_name(map_da):
1340 def change_name(obj):
1341 obj = obj.copy(deep=True)
1342 obj.name = "new"
1343 return obj
1344
1345 expected = change_name(map_da)
1346 with raise_if_dask_computes():

Callers 1

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…