MCPcopy Create free account
hub / github.com/dask/dask / test_vstack

Function test_vstack

dask/array/tests/test_routines.py:1626–1633  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1624
1625
1626def test_vstack():
1627 x = np.arange(5)
1628 y = np.ones(5)
1629 a = da.arange(5, chunks=2)
1630 b = da.ones(5, chunks=2)
1631
1632 assert_eq(np.vstack((x, y)), da.vstack((a, b)))
1633 assert_eq(np.vstack((x, y[None, :])), da.vstack((a, b[None, :])))
1634
1635
1636def test_hstack():

Callers

nothing calls this directly

Calls 3

assert_eqFunction · 0.90
arangeMethod · 0.45
onesMethod · 0.45

Tested by

no test coverage detected