Spaces:
Runtime error
Runtime error
Hugo Lindgren commited on
Commit ·
0796ac7
1
Parent(s): 6a1e1c5
ss
Browse files
app.py
CHANGED
|
@@ -51,10 +51,10 @@ def valuation_predictor(goals, assists, y_cards, r_cards,
|
|
| 51 |
formatted_output_thousand = f"{round(estimated_valuation[0], -3):,} EUR"
|
| 52 |
return formatted_output_thousand
|
| 53 |
|
| 54 |
-
df = fg.read()
|
| 55 |
df = df.drop(columns=["player_id", "date"])
|
| 56 |
|
| 57 |
-
|
| 58 |
|
| 59 |
new_rows = []
|
| 60 |
for index, row in df.iterrows():
|
|
|
|
| 51 |
formatted_output_thousand = f"{round(estimated_valuation[0], -3):,} EUR"
|
| 52 |
return formatted_output_thousand
|
| 53 |
|
| 54 |
+
df = pd.DataFrame(fg.read())
|
| 55 |
df = df.drop(columns=["player_id", "date"])
|
| 56 |
|
| 57 |
+
print(df)
|
| 58 |
|
| 59 |
new_rows = []
|
| 60 |
for index, row in df.iterrows():
|