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

Function test_case_when

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

Source from the content-addressed store, hash-verified

3887
3888
3889def test_case_when():
3890 assert pc.case_when(pc.make_struct([True, False, None],
3891 [False, True, None]),
3892 [1, 2, 3],
3893 [11, 12, 13]) == pa.array([1, 12, None])
3894
3895
3896def test_list_element():

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected