Fix typo in dataframe.py (#4786)

# Fix typo in dataframe.py (#4786)

Fixed typo.
```
yeild -> yield
```
This commit is contained in:
Ikko Eltociear Ashimine 2023-05-17 00:49:04 +09:00 committed by GitHub
parent 14bedf1cc5
commit f5a476fdd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.