Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ index
Method
index
xarray/tests/test_indexes.py:46–47 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
44
class
TestIndex:
45
@pytest.fixture
46
def
index(self) -> CustomIndex:
47
return
CustomIndex({
"x"
: 2})
48
49
def
test_from_variables(self) -> None:
50
with
pytest.raises(NotImplementedError):
Callers
15
reset_index
Method · 0.45
stack
Method · 0.45
unstack
Method · 0.45
rename_vars
Method · 0.45
drop_dims
Method · 0.45
drop_indexes
Method · 0.45
swap_dims
Method · 0.45
factorize
Method · 0.45
_infer_line_data
Function · 0.45
_get_axis_num
Method · 0.45
_set_dims
Function · 0.45
open_mfdataset
Function · 0.45
Calls
1
CustomIndex
Class · 0.70
Tested by
no test coverage detected