Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ test_array_iter
Function
test_array_iter
python/pyarrow/tests/test_array.py:712–718 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
710
711
712
def
test_array_iter():
713
arr = pa.array(range(10))
714
715
for
i, j in zip(range(10), arr):
716
assert i == j.as_py()
717
718
assert isinstance(arr, Iterable)
719
720
721
def
test_struct_array_slice():
Callers
nothing calls this directly
Calls
2
as_py
Method · 0.80
array
Method · 0.45
Tested by
no test coverage detected