Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -218,7 +218,7 @@ with col1:
|
|
218 |
stat_var1 = st.radio("What sheets would you like to view?", ('True AVG Splits', 'HWSr Splits', 'Current Slate Stats', 'Stats vs. RHH', 'Stats vs. LHH', 'Full League Stats', 'Full League Stats vs. RHH', 'Full League Stats vs. LHH', 'Bullpen Data'), key='stat_var1')
|
219 |
sp_split1 = st.radio("Are you running the full slate or certain games?", ('Full Slate Run', 'Specific Games'), key='sp_split1')
|
220 |
if sp_split1 == 'Specific Games':
|
221 |
-
sp_var1 = st.multiselect('Which teams would you like to include in the Table?', options =
|
222 |
elif sp_split1 == 'Full Slate Run':
|
223 |
sp_var1 = hitter_stats.Team.values.tolist()
|
224 |
elif stat_type_var1 == 'Hitters':
|
|
|
218 |
stat_var1 = st.radio("What sheets would you like to view?", ('True AVG Splits', 'HWSr Splits', 'Current Slate Stats', 'Stats vs. RHH', 'Stats vs. LHH', 'Full League Stats', 'Full League Stats vs. RHH', 'Full League Stats vs. LHH', 'Bullpen Data'), key='stat_var1')
|
219 |
sp_split1 = st.radio("Are you running the full slate or certain games?", ('Full Slate Run', 'Specific Games'), key='sp_split1')
|
220 |
if sp_split1 == 'Specific Games':
|
221 |
+
sp_var1 = st.multiselect('Which teams would you like to include in the Table?', options = pitcher_stats['Team'].unique(), key='sp_var1')
|
222 |
elif sp_split1 == 'Full Slate Run':
|
223 |
sp_var1 = hitter_stats.Team.values.tolist()
|
224 |
elif stat_type_var1 == 'Hitters':
|