Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -530,7 +530,7 @@ with tab4:
|
|
530 |
rot_display = working_data[working_data['Team'].isin(team_var4)]
|
531 |
display = st.container()
|
532 |
|
533 |
-
rot_display = rot_display.set_index('Player')
|
534 |
display.dataframe(rot_display.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(percentages_format, precision=2), height=500, use_container_width=True)
|
535 |
st.download_button(
|
536 |
label="Export Rotations Model",
|
|
|
530 |
rot_display = working_data[working_data['Team'].isin(team_var4)]
|
531 |
display = st.container()
|
532 |
|
533 |
+
# rot_display = rot_display.set_index('Player')
|
534 |
display.dataframe(rot_display.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(percentages_format, precision=2), height=500, use_container_width=True)
|
535 |
st.download_button(
|
536 |
label="Export Rotations Model",
|