When reading in horizontal/vertical Excel Ranges, xlwings currently returns a nested ("2d") list:
They should be returned as flat list using something like:
[item for sublist in l for item in sublist]
in order to get:
Same actually for vertical lists [[1],[2]] and for numpy arrays.
Add argument atleast_2d to force 2d behaviour.
When reading in horizontal/vertical Excel Ranges, xlwings currently returns a nested ("2d") list:
They should be returned as flat list using something like:
in order to get:
Same actually for vertical lists
[[1],[2]]and for numpy arrays.Add argument
atleast_2dto force 2d behaviour.