Greetings!
Actually, I converted the PDF file containing the tables into a Pandas dataframe and then into Excel. Some cells in a PDF document contain multiline text.
I've previously converted PDFs into a Pandas dataframe and then into Excel, but in those PDFs, the cells with multiline text had a \n at the end of the line, so I managed to make the multiline text into a single line/cell, but in this PDF there is no \n.
So I want the text into one line/cell, but I am not able to do so. Can anybody please help me with the same?
I hope I am able to make you understand my question.
I am also attaching pictures of what I have in my Pandas dataframe and what I want for your reference.
This is what I getting after exporting dataframe into excel
And this is I want
Thanks in advance
Actually, I converted the PDF file containing the tables into a Pandas dataframe and then into Excel. Some cells in a PDF document contain multiline text.
I've previously converted PDFs into a Pandas dataframe and then into Excel, but in those PDFs, the cells with multiline text had a \n at the end of the line, so I managed to make the multiline text into a single line/cell, but in this PDF there is no \n.
So I want the text into one line/cell, but I am not able to do so. Can anybody please help me with the same?
I hope I am able to make you understand my question.
I am also attaching pictures of what I have in my Pandas dataframe and what I want for your reference.
This is what I getting after exporting dataframe into excel
And this is I want
Thanks in advance