Jon Solow
commited on
Commit
·
7e7c54c
1
Parent(s):
8fcd25b
Use left join for fantasy stats sort which was missing kickers
Browse files
src/queries/nflverse/github_data.py
CHANGED
@@ -40,7 +40,7 @@ def get_weekly_rosters(season_int: int | str = SEASON) -> pd.DataFrame:
|
|
40 |
, wr.gsis_id
|
41 |
, gs.fantasy_points
|
42 |
from weekly_rosters_roster_weekly_{season_int} wr
|
43 |
-
join grouped_stats gs
|
44 |
on wr.gsis_id = gs.player_id
|
45 |
"""
|
46 |
).df()
|
|
|
40 |
, wr.gsis_id
|
41 |
, gs.fantasy_points
|
42 |
from weekly_rosters_roster_weekly_{season_int} wr
|
43 |
+
left join grouped_stats gs
|
44 |
on wr.gsis_id = gs.player_id
|
45 |
"""
|
46 |
).df()
|