Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
reduce
Method · 0.95
permute_dims
Method · 0.95
Calls
1
_get_axis_num
Method · 0.95
Tested by
no test coverage detected