stack¶
-
sparse.
stack
(arrays, axis=0)[source]¶ Stack the input arrays along the given dimension.
Parameters: - arrays (Iterable[Union[COO, numpy.ndarray, scipy.sparse.spmatrix]]) – The input arrays to stack.
- axis (int, optional) – The axis along which to stack the input arrays.
Returns: The output stacked array.
Return type: See also
numpy.stack()
- NumPy equivalent function