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

Function test_coordinate_transform_rename

xarray/tests/test_coordinate_transform.py:241–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239
240
241def test_coordinate_transform_rename() -> None:
242 ds = xr.Dataset(coords=create_coords(scale=2.0, shape=(2, 2)))
243 roundtripped = ds.rename(x="u", y="v").rename(u="x", v="y")
244 assert_identical(ds, roundtripped, check_default_indexes=False)

Callers

nothing calls this directly

Calls 4

renameMethod · 0.95
assert_identicalFunction · 0.90
create_coordsFunction · 0.85
renameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…