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

Method identical

xarray/core/variable.py:1908–1915  ·  view source on GitHub ↗

Like equals, but also checks attributes.

(self, other, equiv=duck_array_ops.array_equiv)

Source from the content-addressed store, hash-verified

1906 return self.equals(other, equiv=equiv)
1907
1908 def identical(self, other, equiv=duck_array_ops.array_equiv):
1909 """Like equals, but also checks attributes."""
1910 try:
1911 return utils.dict_equiv(self.attrs, other.attrs) and self.equals(
1912 other, equiv=equiv
1913 )
1914 except (TypeError, AttributeError):
1915 return False
1916
1917 def no_conflicts(self, other, equiv=duck_array_ops.array_notnull_equiv):
1918 """True if the intersection of two Variable's non-null data is

Callers 3

test_broadcast_equalsMethod · 0.95
test_no_conflictsMethod · 0.95

Calls 1

equalsMethod · 0.95

Tested by 3

test_broadcast_equalsMethod · 0.76
test_no_conflictsMethod · 0.76