James McCool commited on
Commit
071f3d9
·
1 Parent(s): 0a29ddd

Refine dataframe display in app.py by removing unnecessary game_format parameter in formatting function, enhancing clarity and consistency in data presentation.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ with tab1:
138
  with col4:
139
  own_var1 = st.radio("How would you like to display team ownership?", ('Sum', 'Average'), key='own_var1')
140
  st.title("Scoring Percentages")
141
- st.dataframe(scoring_percentages.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(game_format, precision=2), height=750, use_container_width = True, hide_index=True)
142
 
143
  with tab2:
144
  st.title("Player ROO")
 
138
  with col4:
139
  own_var1 = st.radio("How would you like to display team ownership?", ('Sum', 'Average'), key='own_var1')
140
  st.title("Scoring Percentages")
141
+ st.dataframe(scoring_percentages.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), height=750, use_container_width = True, hide_index=True)
142
 
143
  with tab2:
144
  st.title("Player ROO")