Spaces:
Running
Running
BraydenMoore
commited on
Commit
·
9075eb0
1
Parent(s):
03fec6a
Update Source/Predict/predict.py
Browse files
Source/Predict/predict.py
CHANGED
@@ -129,7 +129,7 @@ def get_one_week(team_name,season,week):
|
|
129 |
game[game.columns[4:]] = game[game.columns[4:]].expanding().mean()
|
130 |
game['TEAM'] = team_name
|
131 |
game['Season'] = season
|
132 |
-
return game.loc[game['GP']==week]
|
133 |
|
134 |
|
135 |
def get_one_week_home_and_away(home,away,season,week):
|
|
|
129 |
game[game.columns[4:]] = game[game.columns[4:]].expanding().mean()
|
130 |
game['TEAM'] = team_name
|
131 |
game['Season'] = season
|
132 |
+
return game.loc[game['GP']==week-1]
|
133 |
|
134 |
|
135 |
def get_one_week_home_and_away(home,away,season,week):
|