MCPcopy
hub / github.com/pydata/xarray / compare_attr

Function compare_attr

xarray/core/formatting.py:861–865  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

859 b_indexes=None,
860):
861 def compare_attr(a, b):
862 if is_duck_array(a) or is_duck_array(b):
863 return array_equiv(a, b)
864 else:
865 return a == b
866
867 def extra_items_repr(extra_keys, mapping, ab_side, kwargs):
868 extra_repr = [

Callers 1

_diff_mapping_reprFunction · 0.85

Calls 2

is_duck_arrayFunction · 0.90
array_equivFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…