-
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
Quick Question on Game Stats #111
Comments
NOTE: This is probably a question better posed to the Running your code generated a file in my working directory: But unless you have a particular need for playing with .csv format, there are easier ways to access the import nflgame
games = nflgame.games(2013, week=1, home="CHI")
for game in games:
print game
plays = nflgame.combine_plays(games)
for play in plays:
print play
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I am trying to get the play by play breakdown and the best way to do that seems to be this:
game.players.csv('player-stats.csv')
so, I did this:
games = nflgame.games(2013, week=1,home="CHI")
game = games[0]
games[0].players.csv('player-stats.csv')
However, can't seem to generate the file (was able to do: nflgame.combine(nflgame.games(2010)).csv('season2010.csv') just fine)
Two questions:
(DEN, DEN 22, Q4, 3 and 8) (4:42) (Shotgun) P.Manning pass
short left to D.Thomas for 78 yards, TOUCHDOWN. Penalty on
BAL-E.Dumervil, Defensive Offside, declined.
Is this the wrong approach ?
Thanks !!!!
The text was updated successfully, but these errors were encountered: