Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ make_sparray
Function
make_sparray
xarray/tests/test_sparse.py:36–37 ·
view source on GitHub ↗
(shape)
Source
from the content-addressed store, hash-verified
34
35
36
def
make_sparray(shape):
37
return
sparse.random(shape, density=0.1, random_state=0)
38
39
40
def
make_xrvar(dim_lengths):
Callers
2
make_xrvar
Function · 0.85
make_xrarray
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…