Skip to content

Commit 71da32b

Browse files
Abhi SuryawanshiAbhi Suryawanshi
authored andcommitted
fix#15 issue
1 parent 2309c78 commit 71da32b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/etl/extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def extract(path: str = "xyz.csv") -> pd.DataFrame:
7272
raise ValueError("❌ Failed to read data from file")
7373

7474
if df.empty:
75-
raise ValueError(" File contains no data")
75+
raise ValueError(" File contains no data")
7676

7777
print(f"✅ Extracted {len(df)} rows and {len(df.columns)} columns") # TODO: Use logging instead of print
7878
return df

0 commit comments

Comments
 (0)