Data organizing after export

After learning from this forum and well as tutorials, I have came to know how to export the product as csv data, txt file. Since I will be processing the data in python as for my academic research. I have a question. How to organize/structure the data obtained. The values are in scattered way. The indentation is not in proper way. Some columns starts here some there. How to manage the data in a tabular format with proper spaces? Is there any way to do that?

this is the screenshot of txt output.

this is the screenshot of csv output.

they are tab-delimited, which means that a tabulator indicates the beginning of a new column


Python can also handle this, you just need to use the csv module and use the "\t"or “excel-tab”
to indicate the separator:
https://docs.python.org/2/library/csv.html