Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np.array to list

>>> a = np.array([1, 2])
>>> list(a)
[1, 2]
>>> a.tolist()
[1, 2]
Source by docs.scipy.org #
 
PREVIOUS NEXT
Tagged: #list
ADD COMMENT
Topic
Name
9+1 =