Spaces:
Runtime error
Runtime error
Zack
commited on
Commit
·
775614e
1
Parent(s):
301a966
fix: Give temp file to read contents into dataframe
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ def clean_data(df):
|
|
73 |
|
74 |
def master(file):
|
75 |
# read file
|
76 |
-
data = pd.read_csv(file)
|
77 |
|
78 |
# clean data
|
79 |
data = clean_data(data)
|
|
|
73 |
|
74 |
def master(file):
|
75 |
# read file
|
76 |
+
data = pd.read_csv(file.name)
|
77 |
|
78 |
# clean data
|
79 |
data = clean_data(data)
|