concatenate

sparse.concatenate(arrays, axis=0)[source]

Concatenate the input arrays along the given dimension.

Parameters:
  • arrays (Iterable[Union[COO, numpy.ndarray, scipy.sparse.spmatrix]]) – The input arrays to concatenate.
  • axis (int, optional) – The axis along which to concatenate the input arrays. The default is zero.
Returns:

The output concatenated array.

Return type:

COO

See also

numpy.concatenate()
NumPy equivalent function