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

Function test_empty_range

python/pyarrow/tests/test_convert_builtin.py:1795–1800  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1793
1794
1795def test_empty_range():
1796 arr = pa.array(range(0))
1797 assert len(arr) == 0
1798 assert arr.null_count == 0
1799 assert arr.type == pa.null()
1800 assert arr.to_pylist() == []
1801
1802
1803def test_structarray():

Callers

nothing calls this directly

Calls 2

lenFunction · 0.85
arrayMethod · 0.45

Tested by

no test coverage detected