Spaces:
Build error
Build error
Pietro Lesci
commited on
Commit
•
e952967
1
Parent(s):
e2db848
enforce reading everything as string
Browse files- src/configs.py +3 -3
src/configs.py
CHANGED
@@ -31,6 +31,6 @@ class Languages(Enum):
|
|
31 |
|
32 |
|
33 |
class SupportedFiles(Enum):
|
34 |
-
xlsx = (pd.read_excel,)
|
35 |
-
csv = (pd.read_csv,)
|
36 |
-
parquet = (pd.read_parquet,)
|
|
|
31 |
|
32 |
|
33 |
class SupportedFiles(Enum):
|
34 |
+
xlsx = (lambda x: pd.read_excel(x, dtype=str),)
|
35 |
+
csv = (lambda x: pd.read_csv(x, dtype=str),)
|
36 |
+
parquet = (lambda x: pd.read_parquet(x, dtype=str),)
|