Синтаксис функции стека Python Numpy

numpy.stack(arrays, axis)
Outrageous Ostrich