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

Function test_skew

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

Source from the content-addressed store, hash-verified

536
537
538def test_skew():
539 data = [1, 1, None, 2]
540 assert pc.skew(data).as_py() == pytest.approx(0.707106781186548, rel=1e-10)
541 assert pc.skew(data, skip_nulls=False).as_py() is None
542 assert pc.skew(data, min_count=4).as_py() is None
543
544
545def test_kurtosis():

Callers

nothing calls this directly

Calls 1

as_pyMethod · 0.80

Tested by

no test coverage detected