James McCool commited on
Commit
3c22444
·
1 Parent(s): dc6fa4a

Comment out type conversion for 'Player' column in stack size DataFrame in app.py

Browse files

- Temporarily disabled the conversion of the 'Player' column to string type to address potential issues with data representation, ensuring flexibility in data handling while maintaining current functionality.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -594,7 +594,7 @@ with tab2:
594
  hide_index=True)
595
  else:
596
  st.session_state['stack_size_frame'] = create_stack_size_exposures(st.session_state['display_contest_info'], st.session_state['entry_names'])
597
- st.session_state['stack_size_frame']['Player'] = st.session_state['stack_size_frame']['Player'].astype(str)
598
  st.dataframe(st.session_state['stack_size_frame'].
599
  sort_values(by='Exposure Overall', ascending=False).
600
  style.background_gradient(cmap='RdYlGn').
 
594
  hide_index=True)
595
  else:
596
  st.session_state['stack_size_frame'] = create_stack_size_exposures(st.session_state['display_contest_info'], st.session_state['entry_names'])
597
+ # st.session_state['stack_size_frame']['Player'] = st.session_state['stack_size_frame']['Player'].astype(str)
598
  st.dataframe(st.session_state['stack_size_frame'].
599
  sort_values(by='Exposure Overall', ascending=False).
600
  style.background_gradient(cmap='RdYlGn').