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

Method get_axis_num

xarray/namedarray/core.py:670–670  ·  view source on GitHub ↗
(self, dim: str)

Source from the content-addressed store, hash-verified

668
669 @overload
670 def get_axis_num(self, dim: str) -> int: ... # type: ignore [overload-overlap]
671
672 @overload
673 def get_axis_num(self, dim: Iterable[Hashable]) -> tuple[int, ...]: ...

Callers 2

reduceMethod · 0.95
permute_dimsMethod · 0.95

Calls 1

_get_axis_numMethod · 0.95

Tested by

no test coverage detected