Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ reorder_dims
Function
reorder_dims
xarray/tests/test_groupby.py:951–952 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
949
950
def
test_groupby_dataset_math() -> None:
951
def
reorder_dims(x):
952
return
x.transpose(
"dim1"
,
"dim2"
,
"dim3"
,
"time"
)
953
954
ds = create_test_data()
955
ds[
"dim1"
] = ds[
"dim1"
]
Callers
1
test_groupby_dataset_math
Function · 0.85
Calls
1
transpose
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…