Hugo Lindgren commited on
Commit
7575093
·
1 Parent(s): 0796ac7
Files changed (1) hide show
  1. app.py +15 -15
app.py CHANGED
@@ -71,21 +71,21 @@ for index, row in df.iterrows():
71
  league = "Bundesliga"
72
 
73
  new_row = {
74
- "player_name": row["player_name"],
75
- "league": league,
76
- "goals": row["goals"],
77
- "assists": row["assists"],
78
- "yellow_cards": row["yellow_cards"],
79
- "red_cards": row["red_cards"],
80
- "minutes_played": row["minutes_played"],
81
- "height_in_cm": row["height_in_cm"],
82
- "age": row["age"],
83
- "months_left": row["months_left"],
84
- "own_goals": row["own_goals"],
85
- "opponent_goals": row["opponent_goals"],
86
- "clean_sheets": row["clean_sheets"],
87
- "market_value_in_eur": row["market_value_in_eur"],
88
- "predicted_value": "123123123" # Replace this with your actual predicted value
89
  }
90
 
91
  # Append new row to df_present
 
71
  league = "Bundesliga"
72
 
73
  new_row = {
74
+ "Player name": row["player_name"],
75
+ "League": league,
76
+ "Goals": row["goals"],
77
+ "Assists": row["assists"],
78
+ "Yellow cards": row["yellow_cards"],
79
+ "Red cards": row["red_cards"],
80
+ "Minutes played": row["minutes_played"],
81
+ "Height": row["height_in_cm"],
82
+ "Age": row["age"],
83
+ "Months left on contract": row["months_left"],
84
+ "Team made goals": row["own_goals"],
85
+ "Team conceded goals": row["opponent_goals"],
86
+ "Team clean sheets": row["clean_sheets"],
87
+ "Actual market value (EUR)": row["market_value_in_eur"],
88
+ "Model predicted market value (EUR)": "123123123" # Replace this with your actual predicted value
89
  }
90
 
91
  # Append new row to df_present