Closed silenceliang closed 4 months ago
Is this problem solved? I have the same problem.
Is this problem solved? I have the same problem.
Have you solved this problem?
Is this problem solved? I have the same problem.
Have you solved this problem?
Hi, try to set the timestamp_format parameter
Is this problem solved? I have the same problem.
Have you solved this problem?
Hi, try to set the timestamp_format parameter
Yes, it got solved. Thanks Berry.
@Jialunula @chongchongaikubao
It necessary define the timestamp_format
in setting.yaml
You can refer to graphrag/index/input/csv.py
in the source code!
Describe the issue
When attempting to convert CSV data into a YAML format, specifying a custom column for the timestamp results in a ValueError. The exception is raised within the pandas library, specifically at the following location:
This issue occurs during the data input process where the CSV data is expected to be formatted according to the settings in a YAML file.
Steps to reproduce
python -m graphrag.index --root ./myFolder
GraphRAG Config Used
input: type: file # or blob file_type: csv # or csv base_dir: "input" file_encoding: utf-8 file_pattern: ".*\.csv" text_column: "description" timestamp_column: "event_time"
Logs and screenshots
Additional Information