Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy copy a array vertical

>>> tile(array([[1,2,3]]).transpose(), (1, 3))
array([[1, 1, 1],
       [2, 2, 2],
       [3, 3, 3]])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numpy #copy #array #vertical
ADD COMMENT
Topic
Name
3+9 =