Feat: origin store as string
This commit is contained in:
parent
598086ddb0
commit
abc5513268
@ -100,7 +100,7 @@ class CSVLoader(Loader):
|
|||||||
exam = extract_fields(csv, fields)
|
exam = extract_fields(csv, fields)
|
||||||
exam = self.rename_columns(exam)
|
exam = self.rename_columns(exam)
|
||||||
exam = exam.rename(columns={"exam": "name"})
|
exam = exam.rename(columns={"exam": "name"})
|
||||||
exam["origin"] = csv
|
exam["origin"] = str(csv)
|
||||||
exam["tribe"] = tribe
|
exam["tribe"] = tribe
|
||||||
exam["id"] = build_id(
|
exam["id"] = build_id(
|
||||||
self._config["id_templates"]["exam"], exam.iloc[0]
|
self._config["id_templates"]["exam"], exam.iloc[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user