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

Function test_vector_empty

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

Source from the content-addressed store, hash-verified

889
890@pytest.mark.pandas
891def test_vector_empty(unary_vector_func_fixture):
892 arr = pa.array([1], pa.float64())
893 result = pc.call_function("y=pct_rank(x)", [arr])
894 expected = unary_vector_func_fixture[0](None, arr)
895 assert result == expected
896
897
898@pytest.mark.pandas

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected