From f5a476fdd4dc2b40cf217dc8bbb0f00d889478b5 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Wed, 17 May 2023 00:49:04 +0900 Subject: [PATCH] Fix typo in dataframe.py (#4786) # Fix typo in dataframe.py (#4786) Fixed typo. ``` yeild -> yield ``` --- langchain/document_loaders/dataframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/document_loaders/dataframe.py b/langchain/document_loaders/dataframe.py index 8535a1b6..4ae4c587 100644 --- a/langchain/document_loaders/dataframe.py +++ b/langchain/document_loaders/dataframe.py @@ -22,7 +22,7 @@ class DataFrameLoader(BaseLoader): def load(self) -> List[Document]: """Load from the dataframe.""" result = [] - # For very large dataframes, this needs to yeild instead of building a list + # For very large dataframes, this needs to yield instead of building a list # but that would require chaging return type to a generator for BaseLoader # and all its subclasses, which is a bigger refactor. Marking as future TODO. # This change will allow us to extend this to Spark and Dask dataframes.