I've already searched SO for how to flatten a list of lists (i.e. here:Making a flat list out of list of lists in Python) but none of the solutions I find addresses flattening a list of lists of lists to just a list of lists.
I have:
my_list = [ [ [1,2,3],[4,5] ], [ [9],[8,9,10],[3,4,6] ], [ [1] ] ]
I want:
my_list = [ [1,2,3,4,5], [9,8,9,10,3,4,6], [1] ]
The solution should work for a list of floats as well. Any suggestions?