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