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

Function test_value_counts_sort

dask/dataframe/dask_expr/tests/test_reductions.py:114–120  ·  view source on GitHub ↗
(pdf)

Source from the content-addressed store, hash-verified

112
113
114def test_value_counts_sort(pdf):
115 pdf = pdf.iloc[4:]
116 df = from_pandas(pdf, npartitions=10)
117 pd.testing.assert_series_equal(
118 df.y.value_counts(split_out=1).compute(),
119 pdf.y.value_counts(),
120 )
121
122
123@pytest.mark.parametrize("split_every", [None, 5])

Callers

nothing calls this directly

Calls 3

from_pandasFunction · 0.90
computeMethod · 0.45
value_countsMethod · 0.45

Tested by

no test coverage detected