Lesson 22 Joining NumPy Arrays Using Stack Functions in Machine Learning

preview_player
Показать описание
In this video I will show you how to use stack function in Python NumPy. Stacking is same as concatenation, the only difference is that stacking is done along a new axis. We can concatenate two 1-D arrays along the second axis which would result in putting them one over the other, ie. stacking. We pass a sequence of arrays that we want to join to the stack() method along with the axis. If axis is not explicitly passed it is taken as 0.
Рекомендации по теме
join shbcf.ru