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

Function test_drop_duplicates

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

Source from the content-addressed store, hash-verified

83@pytest.mark.parametrize("split_every", [False, None, 5])
84@pytest.mark.parametrize("split_out", [1, True])
85def test_drop_duplicates(pdf, df, split_every, split_out):
86 assert_eq(
87 df.drop_duplicates(split_every=split_every, split_out=split_out),
88 pdf.drop_duplicates(),
89 check_index=split_out is not True,
90 )
91 assert_eq(
92 df.x.drop_duplicates(split_every=split_every, split_out=split_out),
93 pdf.x.drop_duplicates(),
94 check_index=split_out is not True,
95 )
96
97
98def test_series_reduction_name():

Callers

nothing calls this directly

Calls 2

assert_eqFunction · 0.90
drop_duplicatesMethod · 0.45

Tested by

no test coverage detected