You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/tests/unit_tests/document_loader/test_docs/csv
Paresh Mathur e2bc836571
Fix #4087 by setting the correct csv dialect (#4103)
The error in #4087 was happening because of the use of csv.Dialect.*
which is just an empty base class. we need to make a choice on what is
our base dialect. I usually use excel so I put it as excel, if
maintainers have other preferences do let me know.

Open Questions:
1. What should be the default dialect?
2. Should we rework all tests to mock the open function rather than the
csv.DictReader?
3. Should we make a separate input for `dialect` like we have for
`encoding`?

---------

Co-authored-by: = <=>
1 year ago
..
test_empty.csv Fix #4087 by setting the correct csv dialect (#4103) 1 year ago
test_nominal.csv Fix #4087 by setting the correct csv dialect (#4103) 1 year ago
test_one_col.csv Fix #4087 by setting the correct csv dialect (#4103) 1 year ago
test_one_row.csv Fix #4087 by setting the correct csv dialect (#4103) 1 year ago