Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def init_baselines():
|
|
51 |
raw_display = pd.DataFrame(worksheet.get_all_records())
|
52 |
raw_display.replace('', np.nan, inplace=True)
|
53 |
raw_display.rename(columns={"Name": "Player"}, inplace = True)
|
54 |
-
raw_display = raw_display[['Player', 'Position', 'Team', 'Opp', 'Minutes', 'Points', 'Rebounds', 'Assists', 'Steals', 'Blocks', 'Turnovers', 'Fantasy']]
|
55 |
player_stats = raw_display[raw_display['Minutes'] > 0]
|
56 |
|
57 |
worksheet = sh.worksheet('Timestamp')
|
|
|
51 |
raw_display = pd.DataFrame(worksheet.get_all_records())
|
52 |
raw_display.replace('', np.nan, inplace=True)
|
53 |
raw_display.rename(columns={"Name": "Player"}, inplace = True)
|
54 |
+
raw_display = raw_display[['Player', 'Position', 'Team', 'Opp', 'Minutes', '3P', 'Points', 'Rebounds', 'Assists', 'Steals', 'Blocks', 'Turnovers', 'Fantasy']]
|
55 |
player_stats = raw_display[raw_display['Minutes'] > 0]
|
56 |
|
57 |
worksheet = sh.worksheet('Timestamp')
|