Like equals, but also checks all variable attributes. See Also -------- Coordinates.equals
(self, other: Self)
| 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] |