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

Method get_axis_num

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

Source from the content-addressed store, hash-verified

216
217 @overload
218 def get_axis_num(self, dim: str) -> int: ... # type: ignore [overload-overlap]
219
220 @overload
221 def get_axis_num(self, dim: Iterable[Hashable]) -> tuple[int, ...]: ...

Callers 15

to_irisFunction · 0.45
differentiateMethod · 0.45
_integrate_oneMethod · 0.45
get_clean_interp_indexFunction · 0.45
ffillFunction · 0.45
bfillFunction · 0.45
_validate_indexersMethod · 0.45
_shuffleMethod · 0.45
_shift_one_dimMethod · 0.45
_roll_one_dimMethod · 0.45
transposeMethod · 0.45
concatMethod · 0.45

Calls 1

_get_axis_numMethod · 0.95

Tested by 13

test_reduceFunction · 0.36
funcFunction · 0.36
test_to_and_from_irisMethod · 0.36
test_aggregationMethod · 0.36
test_aggregationMethod · 0.36
test_aggregationMethod · 0.36
test_meanMethod · 0.36