Copy link to clipboard
Copied
Hi!
I am extracting pdf with the following code:
extract_pdf_options: ExtractPDFOptions = ExtractPDFOptions.builder() \
.with_elements_to_extract([ExtractElementType.TEXT, ExtractElementType.TABLES]) \
.with_elements_to_extract_renditions([ExtractRenditionsElementType.TABLES, ExtractRenditionsElementType.FIGURES]) \
.with_table_structure_format(TableStructureType.CSV) \
.build()
All table elements have a filePaths list, with a .csv followed by a .png.
Is this order consistent? Can I rely on the fact that the .csv will always be at postion 0?
Thanks in advance,
Giovanni
Have something to add?