mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +00:00
bcab894f4e
### Summary
Adds an `UnstructuredTSVLoader` for TSV files. Also updates the doc
strings for `UnstructuredCSV` and `UnstructuredExcel` loaders.
### Testing
```python
from langchain.document_loaders.tsv import UnstructuredTSVLoader
loader = UnstructuredTSVLoader(
file_path="example_data/mlb_teams_2012.csv", mode="elements"
)
docs = loader.load()
```
6 lines
86 B
Plaintext
6 lines
86 B
Plaintext
Stanley Cups
|
|
Team Location Stanley Cups
|
|
Blues STL 1
|
|
Flyers PHI 2
|
|
Maple Leafs TOR 13
|