Skip to content

Commit 1696f58

Browse files
Update graphgen/models/reader/csv_reader.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 556341c commit 1696f58

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

graphgen/models/reader/csv_reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
from typing import Any, Dict, List
22

33
from graphgen.bases.base_reader import BaseReader
4-
4+
import pandas as pd
55

66
class CsvReader(BaseReader):
77
def read(self, file_path: str) -> List[Dict[str, Any]]:
8-
import pandas as pd
98

109
df = pd.read_csv(file_path)
1110
if self.text_column not in df.columns:

0 commit comments

Comments
 (0)