Im looking for the best way to convert a 2D list to csv file containing the coordinates (xyz) for every point.
The 2D-list has this format:
['586.732'], ['626.012'], ['496.778']
['597.422'], ['536.778'], ['586.056']
['597.422'], ['536.778'], ['586.056']
Using:
with open("output.csv", "w") as csvfile:
writer = csv.writer(csvfile)
writer.writerows([x, y, z])
will return a transposed list of objects, that cannot be plotted easily.
I would be happy if anyone could suggest a way to solve this.