Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I converted the PDF file containing the tables into Pandas dataframe and then into Excel. Some cells in a pdf document include multiline text.
I've previously converted PDFs 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, but in this PDF there is no \n. So I want to combine the rows.

What I have tried:

Input --> <a href="">https://i.postimg.cc/TPjfDzpw/input.png</a>
Output (I want) --> <a href="">https://i.postimg.cc/xd3nzvBS/output.png</a>
Posted
Comments
Richard MacCutchan 3-Jan-23 5:34am    
If you want help with a problem then you need to show the code and the data that you are having trouble with. Please use the Improve question link above, and add complete details in your question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900