Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np v stack

a = np.array([[1], [2], [3]])
>>> b = np.array([[4], [5], [6]])
>>> np.vstack((a,b))
array([[1],
       [2],
       [3],
       [4],
       [5],
       [6]])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #np #stack
ADD COMMENT
Topic
Name
9+8 =