# stack¶

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

Stack the input arrays along the given dimension.

Parameters: arrays (Iterable[SparseArray]) – The input arrays to stack. axis (int, optional) – The axis along which to stack the input arrays. The output stacked array. COO ValueError – If all elements of arrays don’t have the same fill-value.

numpy.stack()