I have an array that appears as:
[[1], [2, 1.0], [3, 10, 5.0, 16.0, 8.0, 4.0, 2.0, 1.0], [4, 2.0, 1.0]]
How do I remove brackets so it appears as:
[1,2,1,3,10,5,16,8,4,2,1,4,2,1]