NumPy · Function
np.dstack
np.dstack stacks arrays along the third axis. It returns an array with at least three dimensions and is useful for combining depth or channel data.
Last updated
Syntax
numpy.dstack(tup)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
concatenatestackblockvstackhstackcolumn_stackdsplit