Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ mydiff
Function
mydiff
dask/array/tests/test_gufunc.py:535–536 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
533
534
def
test_apply_gufunc_axis_03():
535
def
mydiff(x):
536
return
np.diff(x, axis=-1)
537
538
a = np.random.default_rng().standard_normal((3, 6, 4))
539
da_ = da.from_array(a, chunks=2)
Callers
nothing calls this directly
Calls
1
diff
Method · 0.80
Tested by
no test coverage detected