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

Function test_chunked_array_str

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

Source from the content-addressed store, hash-verified

158
159
160def test_chunked_array_str():
161 data = [
162 pa.array([1, 2, 3]),
163 pa.array([4, 5, 6])
164 ]
165 data = pa.chunked_array(data)
166 assert str(data) == """[
167 [
168 1,
169 2,
170 3
171 ],
172 [
173 4,
174 5,
175 6
176 ]
177]"""
178
179
180@pytest.mark.numpy

Callers

nothing calls this directly

Calls 2

chunked_arrayMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected