DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR TYPESCRIPT
python select only first elements of a 2d array
>>> [i[0] for i in a] [4.0, 3.0, 3.5]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#select
#elements
#array
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit