Skip to content

Commit

Permalink
Remove combine stats function
Browse files Browse the repository at this point in the history
  • Loading branch information
panzarino committed Aug 22, 2017
1 parent e4592fe commit 51b9dd2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mlbgame/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,6 @@ def team_stats(game_id):
return mlbgame.stats.Stats(data, game_id, False)


def combine_stats(stats):
"""Combines player stat objects from a game into a single list."""
output = [y for x in stats for y in stats[x]]
return output


def game_events(game_id):
"""Return dictionary of game events for game matching the game id.
Expand Down

0 comments on commit 51b9dd2

Please sign in to comment.