I have a list of lists like the following one:
[[5, 6], [10, 11], [14, 15]]
I want to output them as a csv file maybe using pandas to_csv in the following format:
Start End
5 6
10 11
14 15
How can I do this? I have an idea of flattening the list and then making every two elements as a comma-separated line of a CSV file. But I think it can be done more easily.