mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
docs(examples): remove deprecation warnings with export_to_dataframe (#2638)
fix: remove deprecation warnings with export_to_dataframe Signed-off-by: Cesar Berrospi Ramis <ceb@zurich.ibm.com>
This commit is contained in:
committed by
GitHub
parent
d6ddf9f4cb
commit
f5528623a7
2
docs/examples/export_tables.py
vendored
2
docs/examples/export_tables.py
vendored
@@ -52,7 +52,7 @@ def main():
|
||||
|
||||
# Export tables
|
||||
for table_ix, table in enumerate(conv_res.document.tables):
|
||||
table_df: pd.DataFrame = table.export_to_dataframe()
|
||||
table_df: pd.DataFrame = table.export_to_dataframe(doc=conv_res.document)
|
||||
print(f"## Table {table_ix}")
|
||||
print(table_df.to_markdown())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user