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

Function test_vector_basic

python/pyarrow/tests/test_udf.py:883–887  ·  view source on GitHub ↗
(unary_vector_func_fixture)

Source from the content-addressed store, hash-verified

881
882@pytest.mark.pandas
883def test_vector_basic(unary_vector_func_fixture):
884 arr = pa.array([10.0, 20.0, 30.0, 40.0, 50.0], pa.float64())
885 result = pc.call_function("y=pct_rank(x)", [arr])
886 expected = unary_vector_func_fixture[0](None, arr)
887 assert result == expected
888
889
890@pytest.mark.pandas

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected