Spaces:
Build error
Build error
James McCool
commited on
Commit
·
06592a5
1
Parent(s):
8e0a77c
trrying to change GAME_DATE to datetime
Browse files
app.py
CHANGED
|
@@ -113,7 +113,7 @@ def init_baselines():
|
|
| 113 |
'MATCHUP', 'WL', 'backlog_lookup', 'Task', 'game_players'])
|
| 114 |
game_rot[data_cols] = game_rot[data_cols].apply(pd.to_numeric, errors='coerce')
|
| 115 |
game_rot['spread'] = game_rot['GAME_ID'].map(spread_dict)
|
| 116 |
-
|
| 117 |
|
| 118 |
timestamp = gamelog_table['Date'].max()
|
| 119 |
|
|
|
|
| 113 |
'MATCHUP', 'WL', 'backlog_lookup', 'Task', 'game_players'])
|
| 114 |
game_rot[data_cols] = game_rot[data_cols].apply(pd.to_numeric, errors='coerce')
|
| 115 |
game_rot['spread'] = game_rot['GAME_ID'].map(spread_dict)
|
| 116 |
+
game_rot['GAME_DATE'] = pd.to_datetime(game_rot['GAME_DATE']).dt.date
|
| 117 |
|
| 118 |
timestamp = gamelog_table['Date'].max()
|
| 119 |
|