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

Function dim_summary_limited

xarray/core/formatting.py:630–634  ·  view source on GitHub ↗
(
    sizes: Mapping[Any, int], col_width: int, max_rows: int | None = None
)

Source from the content-addressed store, hash-verified

628
629
630def dim_summary_limited(
631 sizes: Mapping[Any, int], col_width: int, max_rows: int | None = None
632) -> str:
633 elements = [f"{k}: {v}" for k, v in sizes.items()]
634 return _element_formatter(elements, col_width, max_rows)
635
636
637def unindexed_dims_repr(dims, coords, max_rows: int | None = None):

Callers 4

array_reprFunction · 0.85
dataset_reprFunction · 0.85
dims_and_coords_reprFunction · 0.85
_datatree_node_reprFunction · 0.85

Calls 2

_element_formatterFunction · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…