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

Method dims

xarray/core/indexes.py:1783–1789  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1781
1782 @property
1783 def dims(self) -> Mapping[Hashable, int]:
1784 from xarray.core.variable import calculate_dimensions
1785
1786 if self._dims is None:
1787 self._dims = calculate_dimensions(self._variables)
1788
1789 return Frozen(self._dims)
1790
1791 def copy(self) -> Indexes:
1792 return type(self)(dict(self._indexes), dict(self._variables))

Callers

nothing calls this directly

Calls 2

calculate_dimensionsFunction · 0.90
FrozenClass · 0.90

Tested by

no test coverage detected