Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

vstack numpy

>>> 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: #vstack #numpy
ADD COMMENT
Topic
Name
4+3 =