Skip to content

Commit

Permalink
Docs: fix excel document loader typo (#15470)
Browse files Browse the repository at this point in the history
  • Loading branch information
chyroc authored Jan 7, 2024
1 parent 1bfb172 commit a17a363
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/community/langchain_community/document_loaders/excel.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ class UnstructuredExcelLoader(UnstructuredFileLoader):
Like other
Unstructured loaders, UnstructuredExcelLoader can be used in both
"single" and "elements" mode. If you use the loader in "elements"
mode, each sheet in the Excel file will be a an Unstructured Table
element. If you use the loader in "elements" mode, an
mode, each sheet in the Excel file will be an Unstructured Table
element. If you use the loader in "single" mode, an
HTML representation of the table will be available in the
"text_as_html" key in the document metadata.
Examples
--------
from langchain_community.document_loaders.excel import UnstructuredExcelLoader
loader = UnstructuredExcelLoader("stanley-cups.xlsd", mode="elements")
loader = UnstructuredExcelLoader("stanley-cups.xlsx", mode="elements")
docs = loader.load()
"""

Expand Down

0 comments on commit a17a363

Please sign in to comment.