fix: add 'player' column to predictions warehouse dummy to fix KeyError
Page 02_players.py accesses preds['player'] but the empty-warehouse dummy had 'name' as column. Added 'player' as primary column to predictions.parquet default schema.
This commit is contained in:
@@ -17,7 +17,7 @@ _EMPTY_DEFAULTS = {
|
|||||||
"fv_proj", "goals", "assists", "stability", "starter_pct",
|
"fv_proj", "goals", "assists", "stability", "starter_pct",
|
||||||
"fvm", "mv_proj", "bid_cap"],
|
"fvm", "mv_proj", "bid_cap"],
|
||||||
"fixtures.parquet": ["team", "matchday", "opp_strength", "home", "away"],
|
"fixtures.parquet": ["team", "matchday", "opp_strength", "home", "away"],
|
||||||
"predictions.parquet": ["name", "role", "team", "fv_mean", "fv_std", "mv_mean",
|
"predictions.parquet": ["player", "name", "role", "team", "fv_mean", "fv_std", "mv_mean",
|
||||||
"mv_std", "starter_prob", "cs_prob", "oppteam", "home"],
|
"mv_std", "starter_prob", "cs_prob", "oppteam", "home"],
|
||||||
"lineups.parquet": ["player", "role", "team", "starter_pct"],
|
"lineups.parquet": ["player", "role", "team", "starter_pct"],
|
||||||
"votes.parquet": ["player", "vote", "matchday"],
|
"votes.parquet": ["player", "vote", "matchday"],
|
||||||
|
|||||||
Reference in New Issue
Block a user