Spaces:
Runtime error
Runtime error
Hugo Lindgren
commited on
Commit
·
341740c
1
Parent(s):
b75872d
done
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ for index, row in df.iterrows():
|
|
| 94 |
"Team made goals": row["own_goals"],
|
| 95 |
"Team conceded goals": row["opponent_goals"],
|
| 96 |
"Team clean sheets": row["clean_sheets"],
|
| 97 |
-
"Actual market value (EUR)": row[
|
| 98 |
"Model predicted market value (EUR)":
|
| 99 |
valuation_predictor(
|
| 100 |
row["goals"], row["assists"], row["yellow_cards"], row["red_cards"], row["minutes_played"], row["height_in_cm"], row["age"], row["months_left"], row["own_goals"], row["opponent_goals"], row["clean_sheets"], pos, league
|
|
|
|
| 94 |
"Team made goals": row["own_goals"],
|
| 95 |
"Team conceded goals": row["opponent_goals"],
|
| 96 |
"Team clean sheets": row["clean_sheets"],
|
| 97 |
+
"Actual market value (EUR)": f"{round(float(row['market_value_in_eur']), -3):,} EUR",
|
| 98 |
"Model predicted market value (EUR)":
|
| 99 |
valuation_predictor(
|
| 100 |
row["goals"], row["assists"], row["yellow_cards"], row["red_cards"], row["minutes_played"], row["height_in_cm"], row["age"], row["months_left"], row["own_goals"], row["opponent_goals"], row["clean_sheets"], pos, league
|