MCPcopy Create free account
hub / github.com/apache/arrow / test_kurtosis

Function test_kurtosis

python/pyarrow/tests/test_compute.py:545–549  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543
544
545def test_kurtosis():
546 data = [1, 1, None, 2]
547 assert pc.kurtosis(data).as_py() == pytest.approx(-1.5, rel=1e-10)
548 assert pc.kurtosis(data, skip_nulls=False).as_py() is None
549 assert pc.kurtosis(data, min_count=4).as_py() is None
550
551
552@pytest.mark.parametrize("input, expected", (

Callers

nothing calls this directly

Calls 1

as_pyMethod · 0.80

Tested by

no test coverage detected