We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c156c commit b385b4fCopy full SHA for b385b4f
graphrag/index/input/csv.py
@@ -35,7 +35,12 @@ async def load_file(path: str, group: dict | None) -> pd.DataFrame:
35
if group is None:
36
group = {}
37
buffer = BytesIO(await storage.get(path, as_bytes=True))
38
- data = pd.read_csv(buffer, encoding=config.encoding or "latin-1", escapechar="\\", quotechar='"')
+ data = pd.read_csv(
39
+ buffer,
40
+ encoding=config.encoding or "latin-1",
41
+ escapechar="\\",
42
+ quotechar='"',
43
+ )
44
additional_keys = group.keys()
45
if len(additional_keys) > 0:
46
data[[*additional_keys]] = data.apply(
0 commit comments