MCPcopy
hub / github.com/dask/dask / test_unique

Function test_unique

dask/dataframe/dask_expr/tests/test_reductions.py:125–130  ·  view source on GitHub ↗
(pdf, df, split_every, split_out)

Source from the content-addressed store, hash-verified

123@pytest.mark.parametrize("split_every", [None, 5])
124@pytest.mark.parametrize("split_out", [1, True])
125def test_unique(pdf, df, split_every, split_out):
126 assert_eq(
127 df.x.unique(split_every=split_every, split_out=split_out),
128 pd.Series(pdf.x.unique(), name="x"),
129 check_index=split_out is not True,
130 )
131
132
133@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
uniqueMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…