MCPcopy
hub / github.com/dask/dask / test_std_kwargs

Function test_std_kwargs

dask/dataframe/dask_expr/tests/test_reductions.py:376–384  ·  view source on GitHub ↗
(axis, skipna, ddof)

Source from the content-addressed store, hash-verified

374)
375@pytest.mark.parametrize("ddof", [1, 2])
376def test_std_kwargs(axis, skipna, ddof):
377 pdf = pd.DataFrame(
378 {"x": range(30), "y": [1, 2, None] * 10, "z": ["dog", "cat"] * 15}
379 )
380 df = from_pandas(pdf, npartitions=3)
381 assert_eq(
382 pdf.std(axis=axis, skipna=skipna, ddof=ddof, numeric_only=True),
383 df.std(axis=axis, skipna=skipna, ddof=ddof, numeric_only=True),
384 )
385
386
387def test_mean_series_axis_none(df, pdf):

Callers

nothing calls this directly

Calls 3

from_pandasFunction · 0.90
assert_eqFunction · 0.90
stdMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…