Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
49c24fe
1
Parent(s):
0216170
Updated column name in rotations table to use underscore
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def init_baselines():
|
|
99 |
raw_display = raw_display[1:]
|
100 |
raw_display = raw_display.reset_index(drop=True)
|
101 |
rot_table = raw_display[raw_display['Player'] != ""]
|
102 |
-
rot_table = rot_table[['Player', 'Team', 'PG', 'SG', 'SF', 'PF', 'C', '
|
103 |
data_cols = ['PG', 'SG', 'SF', 'PF', 'C']
|
104 |
rot_table[data_cols] = rot_table[data_cols].apply(pd.to_numeric, errors='coerce')
|
105 |
rot_table = rot_table[rot_table['Player'] != 0]
|
|
|
99 |
raw_display = raw_display[1:]
|
100 |
raw_display = raw_display.reset_index(drop=True)
|
101 |
rot_table = raw_display[raw_display['Player'] != ""]
|
102 |
+
rot_table = rot_table[['Player', 'Team', 'PG', 'SG', 'SF', 'PF', 'C', 'Given_Pos']]
|
103 |
data_cols = ['PG', 'SG', 'SF', 'PF', 'C']
|
104 |
rot_table[data_cols] = rot_table[data_cols].apply(pd.to_numeric, errors='coerce')
|
105 |
rot_table = rot_table[rot_table['Player'] != 0]
|