Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python numpy vstack

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