DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
np reshape
np.reshape(a, (3,-1)) # the unspecified value is inferred to be 2 array([[1, 2], [3, 4], [5, 6]])
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#np
#reshape
ADD COMMENT
Topic
COMMENT
Name
4+4 =
Submit