James McCool commited on
Commit
2ba6365
·
1 Parent(s): 17cd936

Refine column dropping logic in Current Slate Overview for Streamlit app

Browse files

- Updated the columns dropped from the displayed data in the Current Slate Overview to exclude 'FD Own Adj', enhancing the relevance and clarity of the information presented to users.
- This change streamlines the data display by removing unnecessary columns.

Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -212,7 +212,7 @@ with pitcher_tab:
212
  elif table_var_sp == 'Current Slate Overview':
213
  disp_raw = starting_pitchers
214
 
215
- disp_raw = disp_raw.drop(columns = ['DK Own Adj', 'FD Own Adj', 'Perf_Adj', 'Curr'])
216
 
217
  if team_var_sp is not None:
218
  disp_raw = disp_raw[disp_raw['Team'].isin(team_var_sp)]
 
212
  elif table_var_sp == 'Current Slate Overview':
213
  disp_raw = starting_pitchers
214
 
215
+ disp_raw = disp_raw.drop(columns = ['DK Own Adj', 'Perf_Adj', 'Curr'])
216
 
217
  if team_var_sp is not None:
218
  disp_raw = disp_raw[disp_raw['Team'].isin(team_var_sp)]