| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.concat_arrays.html | [Back] [Original] |
Section Navigation
Concatenate the given arrays.
The contents of the input arrays are copied into the returned array.
pyarrow.ArrayArrays to concatenate, must be identically typed.
MemoryPool, default NoneFor memory allocations. If None, the default pool is used.
ArrowInvalidIf not all of the arrays have the same type.
Examples
>>> import pyarrow as pa
>>> arr1 = pa.array([2, 4, 5, 100])
>>> arr2 = pa.array([2, 4])
>>> pa.concat_arrays([arr1, arr2])
<pyarrow.lib.Int64Array object at ...>
[
2,
4,
5,
100,
2,
4
]
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |