DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
flat numpy array
>>> a = np.array([[1,2], [3,4]]) >>> a.flatten() array([1, 2, 3, 4])
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#flat
#numpy
#array
ADD COMMENT
Topic
COMMENT
Name
7+2 =
Submit