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

Function test_long_array_format

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

Source from the content-addressed store, hash-verified

121
122
123def test_long_array_format():
124 arr = pa.array(range(100))
125 result = arr.to_string(window=2)
126 expected = """\
127[
128 0,
129 1,
130 ...
131 98,
132 99
133]"""
134 assert result == expected
135
136
137def test_indented_string_format():

Callers

nothing calls this directly

Calls 2

arrayMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected