I have a file with blank line as separator. My file looks like this
A B C
D F
A K F
G H
123 AB 34
34 GE PQ 56
In the above format, line separator is an empty line. How can I read such a file using pandas ? First I thought, I will use usual read_csv function and then I can combine all the rows till an empty row into a single row. But it seems that is not very straightforward to do. As detecting an empty row and combining non-indexed rows seems impossible.
Any workaround to solve my issue ? I do not want to explicitly change the format of the file, as the files are feed from an external provider and handled in online fashion