I have this list in Python:
[array([1, 2, 3]), array([3., 4., 5., 6., 7.]), array([7, 8])]
and I would like to export this to csv to look like this: each array on a new line ...
1, 2, 3 3., 4., 5., 6., 7. 7, 8
Each array has a different length.
I tried using numpy.savetxt , numpy.vstack , but these different lengths give me problems.
Can anyone help?
source share