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

Function test_combine_chunks

python/pyarrow/tests/test_table.py:112–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110
111
112def test_combine_chunks():
113 # ARROW-77363
114 arr = pa.array([1, 2])
115 chunked_arr = pa.chunked_array([arr, arr])
116 res = chunked_arr.combine_chunks()
117 expected = pa.array([1, 2, 1, 2])
118 assert res.equals(expected)
119
120
121def test_chunked_array_can_combine_chunks_with_no_chunks():

Callers

nothing calls this directly

Calls 3

chunked_arrayMethod · 0.80
equalsMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected