James McCool commited on
Commit
f725d48
·
1 Parent(s): f6721c0

Update app.py to hide index in dataframe display, enhancing visual clarity and user experience.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -147,7 +147,7 @@ with tab2:
147
  elif site_var == "Fanduel":
148
  display_data = sd_roo_data[sd_roo_data['site'] == 'Fanduel']
149
  display_data = display_data[display_data['slate'] == 'FD SD1']
150
- st.dataframe(display_data.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(player_roo_format, precision=2), height=750, use_container_width = True)
151
 
152
  with tab3:
153
  with st.expander("Info and Filters"):
 
147
  elif site_var == "Fanduel":
148
  display_data = sd_roo_data[sd_roo_data['site'] == 'Fanduel']
149
  display_data = display_data[display_data['slate'] == 'FD SD1']
150
+ st.dataframe(display_data.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(player_roo_format, precision=2), height=750, use_container_width = True, hide_index=True)
151
 
152
  with tab3:
153
  with st.expander("Info and Filters"):