Spaces:
Running
Running
James McCool
commited on
Commit
·
de89206
1
Parent(s):
b16a86d
Reorder columns in player display within app.py to enhance data presentation, improving readability and consistency in the displayed player information.
Browse files
app.py
CHANGED
@@ -441,7 +441,7 @@ with tab2:
|
|
441 |
|
442 |
if view_var == "Simple":
|
443 |
try:
|
444 |
-
player_roo_disp = player_roo_disp[['Player', '
|
445 |
player_roo_disp = player_roo_disp.set_index('Player', drop=True)
|
446 |
st.dataframe(player_roo_disp.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(player_roo_format, precision=2), height=750, use_container_width = True)
|
447 |
except:
|
|
|
441 |
|
442 |
if view_var == "Simple":
|
443 |
try:
|
444 |
+
player_roo_disp = player_roo_disp[['Player', 'Salary', 'Median', 'Ceiling', 'Own%', 'Position', 'Team']]
|
445 |
player_roo_disp = player_roo_disp.set_index('Player', drop=True)
|
446 |
st.dataframe(player_roo_disp.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(player_roo_format, precision=2), height=750, use_container_width = True)
|
447 |
except:
|