I want to flatten the list:
exampleArray = [[[151.68694121866872]], [[101.59534468349297]], [[72.16055999176308]]]
There isn't a better way, this is the most recommended way. See official recipes
def flatten(listOfLists): "Flatten one level of nesting" return chain.from_iterable(listOfLists)