edsnlp.utils.lists
flatten(my_list)
Flatten (if necessary) a list of sublists
PARAMETER | DESCRIPTION |
---|---|
my_list |
A list of items, each items in turn can be a list
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
List
|
A flatten list |
Source code in edsnlp/utils/lists.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|