Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python reshape array

>>> a = np.arange(6).reshape((3, 2))
>>> a
array([[0, 1],
       [2, 3],
       [4, 5]])
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #python #reshape #array
ADD COMMENT
Topic
Name
1+1 =