Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -203,16 +203,16 @@ with tab2:
|
|
203 |
elif split_var2 == 'All Teams':
|
204 |
team_var2 = rb_search['Team-Season'].unique().tolist()
|
205 |
if stat_type_var2 == 'WR/TE Coverage Matchups':
|
206 |
-
slate_table_instance =
|
207 |
slate_table_instance = slate_table_instance.set_index('team')
|
208 |
elif stat_type_var1 == 'Nothing idk lol':
|
209 |
-
slate_table_instance =
|
210 |
|
211 |
with col2:
|
212 |
if stat_type_var2 == 'WR/TE Coverage Matchups':
|
213 |
st.dataframe(slate_table_instance.style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(precision=2), use_container_width = True)
|
214 |
elif stat_type_var2 == 'Nothing idk lol':
|
215 |
-
st.write(
|
216 |
st.download_button(
|
217 |
label="Export Tables",
|
218 |
data=convert_df_to_csv(slate_table_instance),
|
|
|
203 |
elif split_var2 == 'All Teams':
|
204 |
team_var2 = rb_search['Team-Season'].unique().tolist()
|
205 |
if stat_type_var2 == 'WR/TE Coverage Matchups':
|
206 |
+
slate_table_instance = wr_matchups
|
207 |
slate_table_instance = slate_table_instance.set_index('team')
|
208 |
elif stat_type_var1 == 'Nothing idk lol':
|
209 |
+
slate_table_instance = wr_matchups
|
210 |
|
211 |
with col2:
|
212 |
if stat_type_var2 == 'WR/TE Coverage Matchups':
|
213 |
st.dataframe(slate_table_instance.style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(precision=2), use_container_width = True)
|
214 |
elif stat_type_var2 == 'Nothing idk lol':
|
215 |
+
st.write('lol same bro but yo the vibes immaculate')
|
216 |
st.download_button(
|
217 |
label="Export Tables",
|
218 |
data=convert_df_to_csv(slate_table_instance),
|