-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two passing leaders for each team #204
Comments
it might relate to this: game.players is a list of tuples of player data. The first element is the team the player was on during the game and the second element is a Player object corresponding to that player's meta data (including the team he's currently on). Cur_team is the team the player is currently on, not necessarily the team he was on when the game was played? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Probably I do something wrong... but here is my problem.
I try to find 2 passing leaders for each team for each season.
I have a list of all teams, so I do a loop over all teams and all years.
For the moment I have at least two problems with 2015 season.
a) No data for STL;
b) No data for DEN
Probably because Case Keenum play now for LA and Nick Foles for KC.
The same for Denver, because Peyton Manning marked as UNK.
I could remove the line
cur_query.player(team=cur_team)
,but in this case I get not the two bests passers of the team, but the best passer of the team and his best opponent passer for this season.
Example for 2015 for NYJ I got :
So, probably it's not an issue... but may be you could give a clue how I could solve this problem?
The text was updated successfully, but these errors were encountered: