James McCool
commited on
Commit
·
17cd936
1
Parent(s):
f738bbd
Update column dropping logic in Current Slate Overview for Streamlit app
Browse files- Modified the columns dropped from the displayed data in the Current Slate Overview to include 'DK Own Adj', 'FD Own Adj', 'Perf_Adj', and 'Curr', enhancing the relevance of the information presented to users.
- This change improves data clarity by removing unnecessary columns from the display.
- 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 = ['Own Adj', 'Perf_Adj'])
|
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', '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)]
|