We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13359f commit 7b5d3afCopy full SHA for 7b5d3af
app/etl/extract.py
@@ -35,10 +35,6 @@ def extract(path: str = "xyz.csv") -> pd.DataFrame :
35
pass
36
except UnicodeDecodeError:
37
print(f"Failed to read with encoding '{encoding}'") # Log the encoding that failed
38
- continue
39
- except Exception as e:
40
- print(f"Error reading with encoding '{encoding}': {e}")
41
42
43
if df is None:
44
raise ValueError(f"Could not read CSV with tried encodings: {encodings}")
0 commit comments