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

Function test_slice_chunked_array_zero_chunks

python/pyarrow/tests/test_array.py:1777–1786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1775
1776
1777def test_slice_chunked_array_zero_chunks():
1778 # ARROW-8911
1779 arr = pa.chunked_array([], type='int8')
1780 assert arr.num_chunks == 0
1781
1782 result = arr[:]
1783 assert result.equals(arr)
1784
1785 # Do not crash
1786 arr[:5]
1787
1788
1789def test_cast_chunked_array():

Callers

nothing calls this directly

Calls 2

chunked_arrayMethod · 0.80
equalsMethod · 0.80

Tested by

no test coverage detected