How do I read unstructured csv file using pandas

时间:2018-06-04 17:23:23

标签: python pandas csv

In python, how can I read an unstructured csv file (with some redundant rows of texts) and output it as a new structured csv file using pandas?

There are some unwanted rows in the csv file (at the very beginning as shown by the picture) which is getting parsed as a unique column resulting in incorrect format of columns, but actually these lines should be ignored

The unstructured csv csv

The Desired Structure : Structure

I have searched for a solution, but none of the previous questions here solve my problem

0 个答案:

没有答案