Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -63,7 +63,7 @@ def init_baselines():
|
|
63 |
player_stats = raw_display[raw_display['Minutes'] > 0]
|
64 |
|
65 |
player_stats['Player'].replace(['Jaren Jackson', 'Nic Claxton', 'Jabari Smith', 'Lu Dort', 'Moe Wagner', 'Kyle Kuzma', 'Trey Murphy'],
|
66 |
-
['Jaren Jackson Jr.', 'Nicolas Claxton', 'Jabari Smith Jr.', 'Luguentz Dort', 'Moritz Wagner', 'Kyle Kuzma Jr.', 'Trey Murphy'], inplace=True)
|
67 |
|
68 |
worksheet = sh.worksheet('Timestamp')
|
69 |
timestamp = worksheet.acell('A1').value
|
@@ -74,7 +74,7 @@ def init_baselines():
|
|
74 |
prop_frame = raw_display.dropna(subset='Player')
|
75 |
|
76 |
prop_frame['Player'].replace(['Jaren Jackson', 'Nic Claxton', 'Jabari Smith', 'Lu Dort', 'Moe Wagner', 'Kyle Kuzma', 'Trey Murphy'],
|
77 |
-
['Jaren Jackson Jr.', 'Nicolas Claxton', 'Jabari Smith Jr.', 'Luguentz Dort', 'Moritz Wagner', 'Kyle Kuzma Jr.', 'Trey Murphy'], inplace=True)
|
78 |
|
79 |
return game_model, player_stats, prop_frame, timestamp
|
80 |
|
|
|
63 |
player_stats = raw_display[raw_display['Minutes'] > 0]
|
64 |
|
65 |
player_stats['Player'].replace(['Jaren Jackson', 'Nic Claxton', 'Jabari Smith', 'Lu Dort', 'Moe Wagner', 'Kyle Kuzma', 'Trey Murphy'],
|
66 |
+
['Jaren Jackson Jr.', 'Nicolas Claxton', 'Jabari Smith Jr.', 'Luguentz Dort', 'Moritz Wagner', 'Kyle Kuzma Jr.', 'Trey Murphy III'], inplace=True)
|
67 |
|
68 |
worksheet = sh.worksheet('Timestamp')
|
69 |
timestamp = worksheet.acell('A1').value
|
|
|
74 |
prop_frame = raw_display.dropna(subset='Player')
|
75 |
|
76 |
prop_frame['Player'].replace(['Jaren Jackson', 'Nic Claxton', 'Jabari Smith', 'Lu Dort', 'Moe Wagner', 'Kyle Kuzma', 'Trey Murphy'],
|
77 |
+
['Jaren Jackson Jr.', 'Nicolas Claxton', 'Jabari Smith Jr.', 'Luguentz Dort', 'Moritz Wagner', 'Kyle Kuzma Jr.', 'Trey Murphy III'], inplace=True)
|
78 |
|
79 |
return game_model, player_stats, prop_frame, timestamp
|
80 |
|