I want to flatten the list:
exampleArray = [[[151.68694121866872]], [[101.59534468349297]], [[72.16055999176308]]]
In [6]: from itertools import chain In [7]: lis=[[[151.68694121866872]], [[101.59534468349297]], [[72.16055999176308]]] In [8]: list(chain(*(chain(*lis)))) Out[8]: [151.68694121866872, 101.59534468349297, 72.16055999176308]