Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3889
def
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
3896
def
test_list_element():
Callers
nothing calls this directly
Calls
1
array
Method · 0.45
Tested by
no test coverage detected