turn double square brackets to single
numpy, python
Solution
If they are coded as lists, you can just take the `[0]` element
Problem
How can I remove the double square brackets of a numpy array to single square brackets like a list? ``` [[0, 3.49, 0, 4.55]] ``` desired output ``` [0,3.49,0,4.55] ``` I have searched through SO looking for numpy array to list , square brackets numpy, not being able to find an answer `to_list()` only add commas among the values