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

Function indexes_repr

xarray/core/formatting.py:557–567  ·  view source on GitHub ↗
(indexes, max_rows: int | None = None, title: str = "Indexes")

Source from the content-addressed store, hash-verified

555
556
557def indexes_repr(indexes, max_rows: int | None = None, title: str = "Indexes") -> str:
558 col_width = _calculate_col_width(chain.from_iterable(indexes))
559
560 return _mapping_repr(
561 indexes,
562 title,
563 summarize_index,
564 "display_expand_indexes",
565 col_width=col_width,
566 max_rows=max_rows,
567 )
568
569
570def dim_summary(obj):

Callers 3

array_reprFunction · 0.85
dataset_reprFunction · 0.85
_datatree_node_reprFunction · 0.85

Calls 2

_calculate_col_widthFunction · 0.85
_mapping_reprFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…