Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flatten list of lists python

flattened = [val for sublist in list_of_lists for val in sublist]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flatten #list #lists #python
ADD COMMENT
Topic
Name
1+9 =