I am using pypdf to extract text and and using this code below. It works if the table is one page (closing the table), but if the table is extended to another page (partially on one page and the rest on a subsequent page), data from the 2nd page only being extracted. Are there any settings I can use, or can I remove page breaks from the PDF. Any help is much appreciated.
txt = page.extract_text(extraction_mode="layout", layout_mode_space_vertically=True)