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

Function diff_dim_summary

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

Source from the content-addressed store, hash-verified

842
843
844def diff_dim_summary(a, b) -> str:
845 if a.sizes != b.sizes:
846 return f"Differing dimensions:\n ({dim_summary(a)}) != ({dim_summary(b)})"
847 else:
848 return ""
849
850
851def _diff_mapping_repr(

Callers 2

diff_array_reprFunction · 0.85
diff_dataset_reprFunction · 0.85

Calls 1

dim_summaryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…