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

Method identical

xarray/core/coordinates.py:490–499  ·  view source on GitHub ↗

Like equals, but also checks all variable attributes. See Also -------- Coordinates.equals

(self, other: Self)

Source from the content-addressed store, hash-verified

488 return self.to_dataset().equals(other.to_dataset())
489
490 def identical(self, other: Self) -> bool:
491 """Like equals, but also checks all variable attributes.
492
493 See Also
494 --------
495 Coordinates.equals
496 """
497 if not isinstance(other, Coordinates):
498 return False
499 return self.to_dataset().identical(other.to_dataset())
500
501 def _update_coords(
502 self, coords: dict[Hashable, Variable], indexes: dict[Hashable, Index]

Callers 1

test_identicalMethod · 0.95

Calls 1

to_datasetMethod · 0.95

Tested by 1

test_identicalMethod · 0.76