Skip to content

Commit b385b4f

Browse files
committed
fixing ruff format issue
1 parent 27c156c commit b385b4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

graphrag/index/input/csv.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ async def load_file(path: str, group: dict | None) -> pd.DataFrame:
3535
if group is None:
3636
group = {}
3737
buffer = BytesIO(await storage.get(path, as_bytes=True))
38-
data = pd.read_csv(buffer, encoding=config.encoding or "latin-1", escapechar="\\", quotechar='"')
38+
data = pd.read_csv(
39+
buffer,
40+
encoding=config.encoding or "latin-1",
41+
escapechar="\\",
42+
quotechar='"',
43+
)
3944
additional_keys = group.keys()
4045
if len(additional_keys) > 0:
4146
data[[*additional_keys]] = data.apply(

0 commit comments

Comments
 (0)