Add week column
This commit is contained in:
parent
f378da5093
commit
43fbc70b20
1
app.py
1
app.py
|
|
@ -28,6 +28,7 @@ def extract_matchup_box_scores(league: League, week_override: int) -> dict:
|
||||||
result = []
|
result = []
|
||||||
for matchup in matchups:
|
for matchup in matchups:
|
||||||
result.append({
|
result.append({
|
||||||
|
'Week': week_override,
|
||||||
'Away Team': matchup.away_team.team_name,
|
'Away Team': matchup.away_team.team_name,
|
||||||
'Away Team Score': matchup.away_score,
|
'Away Team Score': matchup.away_score,
|
||||||
'Away Team Kicker Score': extract_positional_data(matchup.away_lineup, 'K'),
|
'Away Team Kicker Score': extract_positional_data(matchup.away_lineup, 'K'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue