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

Method _data_equals

xarray/core/variable.py:2942–2943  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

2940 return False
2941
2942 def _data_equals(self, other):
2943 return self._to_index().equals(other._to_index())
2944
2945 def to_index_variable(self) -> IndexVariable:
2946 """Return this variable as an xarray.IndexVariable"""

Callers 1

equalsMethod · 0.95

Calls 3

_to_indexMethod · 0.95
equalsMethod · 0.45
_to_indexMethod · 0.45

Tested by

no test coverage detected