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 6e5d072 commit 07f5a9bCopy full SHA for 07f5a9b
app/etl/extract.py
@@ -1,7 +1,6 @@
1
import pandas as pd
2
import os
3
# TODO (Find & Fix)
4
-from typing import Optional
5
6
def extract(path: str = "xyz.csv") -> pd.DataFrame :
7
"""
@@ -51,4 +50,4 @@ def extract(path: str = "xyz.csv") -> pd.DataFrame :
51
50
except pd.errors.ParserError as e:
52
raise ValueError(f"❌ Error parsing CSV: {e}")
53
except Exception as e:
54
- raise ValueError(f"❌ Unexpected error reading file: {e}")
+ raise ValueError(f"❌ Unexpected error reading file: {e}")
0 commit comments