MCPcopy Index your code
hub / github.com/dask/dask / test_anova

Function test_anova

dask/array/tests/test_stats.py:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120
121
122def test_anova():
123 np_args = [i * np.random.random(size=(30,)) for i in range(4)]
124 da_args = [da.from_array(x, chunks=10) for x in np_args]
125
126 result = dask.array.stats.f_oneway(*da_args)
127 expected = scipy.stats.f_oneway(*np_args)
128
129 assert allclose(result.compute(), expected)
130
131
132@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

allcloseFunction · 0.90
randomMethod · 0.45
computeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…