You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set the ``include_page_breaks`` kwarg to ``True``, the output will include page breaks. This is only supported for ``.pptx``, ``.html``, ``.pdf``,
89
89
``.png``, and ``.jpg``.
@@ -269,6 +269,23 @@ Examples:
269
269
print(elements[0].metadata.text_as_html)
270
270
271
271
272
+
``partition_csv``
273
+
------------------
274
+
275
+
The ``partition_csv`` function pre-processes CSV files. The output is a single
276
+
``Table`` element. The ``text_as_html`` attribute in the element metadata will
277
+
contain an HTML representation of the table.
278
+
279
+
Examples:
280
+
281
+
.. code:: python
282
+
283
+
from unstructured.partition.csv import partition_csv
284
+
285
+
elements = partition_csv(filename="example-docs/stanley-cups.csv")
0 commit comments