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

Function test_run_end_encoded_to_pandas

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

Source from the content-addressed store, hash-verified

4331
4332@pytest.mark.pandas
4333def test_run_end_encoded_to_pandas():
4334 arr = [1, 2, 2, 3, 3, 3]
4335 ree_array = pa.array(arr, pa.run_end_encoded(pa.int32(), pa.int64()))
4336
4337 assert ree_array.to_pandas().tolist() == arr
4338
4339 with pytest.raises(pa.ArrowInvalid):
4340 ree_array.to_pandas(zero_copy_only=True)
4341
4342
4343@pytest.mark.parametrize(('list_array_type', 'list_type_factory'),

Callers

nothing calls this directly

Calls 1

arrayMethod · 0.45

Tested by

no test coverage detected