Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ CustomIndex
Class
CustomIndex
xarray/tests/test_dataset.py:678–678 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
676
677
def
test_constructor_custom_index(self) -> None:
678
class
CustomIndex(Index): ...
679
680
coords = Coordinates(
681
coords={
"x"
: (
"x"
, [1, 2, 3])}, indexes={
"x"
: CustomIndex()}
Callers
2
test_constructor_custom_index
Method · 0.70
test_assign_coords_custom_index
Method · 0.70
Calls
no outgoing calls
Tested by
2
test_constructor_custom_index
Method · 0.56
test_assign_coords_custom_index
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…