npstreams.stack
- npstreams.stack(arrays, axis=-1)
Stack of all arrays from a stream. Generalization of numpy.stack and numpy.concatenate.
- Parameters:
arrays (iterable) – Stream of NumPy arrays. Arrays must have shapes that broadcast together.
axis (int, optional) – Stacking direction. If
axis = -1, arrays are stacked along a new dimension.
- Returns:
stacked – Cumulative stacked array.
- Return type:
ndarray