Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list of list to numpy array

>>> lists = [[1, 2], [3, 4]]
>>> np.array(lists)
array([[1, 2],
       [3, 4]])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #list #numpy #array
ADD COMMENT
Topic
Name
7+6 =