Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
c04d9d1
1
Parent(s):
7444a76
fixed medians table
Browse files
app.py
CHANGED
@@ -110,8 +110,8 @@ with col1:
|
|
110 |
minutes_table = minutes_table.set_axis(['PLAYER_NAME', 'Team', 'Season MIN', 'L10 MIN', 'L5 MIN', 'L3 MIN', 'Trend Min'], axis=1)
|
111 |
medians_table = medians_table.set_axis(['PLAYER_NAME', 'Team', 'Season Fantasy', 'L10 Fantasy', 'L5 Fantasy', 'L3 Fantasy', 'Trend Median'], axis=1)
|
112 |
fppm_table = fppm_table.set_axis(['PLAYER_NAME', 'Team', 'Season FPPM', 'L10 FPPM', 'L5 FPPM', 'L3 FPPM', 'Trend FPPM'], axis=1)
|
113 |
-
proj_medians_table = proj_medians_table.set_axis(['PLAYER_NAME', 'Team', 'Position', '
|
114 |
-
'
|
115 |
if split_var1 == 'Overall':
|
116 |
view_var1 = trend_table.Team.values.tolist()
|
117 |
split_var2 = st.radio("Would you like to view all teams or specific ones?", ('All', 'Specific Teams'), key='split_var2')
|
|
|
110 |
minutes_table = minutes_table.set_axis(['PLAYER_NAME', 'Team', 'Season MIN', 'L10 MIN', 'L5 MIN', 'L3 MIN', 'Trend Min'], axis=1)
|
111 |
medians_table = medians_table.set_axis(['PLAYER_NAME', 'Team', 'Season Fantasy', 'L10 Fantasy', 'L5 Fantasy', 'L3 Fantasy', 'Trend Median'], axis=1)
|
112 |
fppm_table = fppm_table.set_axis(['PLAYER_NAME', 'Team', 'Season FPPM', 'L10 FPPM', 'L5 FPPM', 'L3 FPPM', 'Trend FPPM'], axis=1)
|
113 |
+
proj_medians_table = proj_medians_table.set_axis(['PLAYER_NAME', 'Team', 'Position', 'Salary', 'Proj',
|
114 |
+
'Adj Median', 'Avg_Val', 'Adj Ceiling', 'Ceiling_Value'], axis=1)
|
115 |
if split_var1 == 'Overall':
|
116 |
view_var1 = trend_table.Team.values.tolist()
|
117 |
split_var2 = st.radio("Would you like to view all teams or specific ones?", ('All', 'Specific Teams'), key='split_var2')
|