DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+4 =
Submit