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

Function test_corr_gpu

dask/dataframe/tests/test_dataframe.py:3131–3144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3129@pytest.mark.gpu
3130@pytest.mark.skip(reason="https://github.com/rapidsai/cudf/issues/16560")
3131def test_corr_gpu():
3132 cudf = pytest.importorskip("cudf")
3133
3134 # cudf DataFrame
3135 df = cudf.from_pandas(_compat.makeDataFrame())
3136 ddf = dd.from_pandas(df, npartitions=6)
3137
3138 res = ddf.corr()
3139 res2 = ddf.corr(split_every=2)
3140 sol = df.corr()
3141 assert_eq(res, sol)
3142 assert_eq(res2, sol)
3143 assert res._name == ddf.corr()._name
3144 assert res._name != res2._name
3145
3146
3147def test_corr_same_name():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
corrMethod · 0.45

Tested by

no test coverage detected