Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ with tab1:
|
|
106 |
if pos_var1 == 'All':
|
107 |
final_Proj = final_Proj.set_index('Player')
|
108 |
final_Proj = final_Proj.sort_values(by='Median', ascending=False)
|
109 |
-
st.dataframe(final_Proj.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
110 |
st.download_button(
|
111 |
label="Export Tables",
|
112 |
data=convert_df_to_csv(final_Proj),
|
|
|
106 |
if pos_var1 == 'All':
|
107 |
final_Proj = final_Proj.set_index('Player')
|
108 |
final_Proj = final_Proj.sort_values(by='Median', ascending=False)
|
109 |
+
st.dataframe(final_Proj[:,-3:].style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
110 |
st.download_button(
|
111 |
label="Export Tables",
|
112 |
data=convert_df_to_csv(final_Proj),
|