Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ def init_baselines():
|
|
50 |
worksheet = sh.worksheet('DK_Build_Up')
|
51 |
raw_display = pd.DataFrame(worksheet.get_all_records())
|
52 |
raw_display.replace('', np.nan, inplace=True)
|
|
|
53 |
player_stats = raw_display.dropna()
|
54 |
|
55 |
worksheet = sh.worksheet('Timestamp')
|
|
|
50 |
worksheet = sh.worksheet('DK_Build_Up')
|
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 |
player_stats = raw_display.dropna()
|
55 |
|
56 |
worksheet = sh.worksheet('Timestamp')
|