pyarrow.concat_arrays

pyarrow.concat_arrays(arrays, MemoryPool memory_pool=None)

Concatenate the given arrays.

The contents of the input arrays are copied into the returned array.

:raises ArrowInvalid : if not all of the arrays have the same type.:

Parameters
  • arrays (iterable of pyarrow.Array) – Arrays to concatenate, must be identically typed.

  • memory_pool (MemoryPool, default None) – For memory allocations. If None, the default pool is used.