Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -638,8 +638,7 @@ with tab6:
|
|
638 |
team_var6 = st.multiselect('Which teams would you like to include in the tables?', options = player_stats['Team'].unique(), key='team_var6')
|
639 |
elif split_var6 == 'All':
|
640 |
team_var6 = player_stats.Team.values.tolist()
|
641 |
-
raw_stats_disp = raw_baselines[raw_baselines['Team'].isin(team_var6)]
|
642 |
-
raw_stats_disp = raw_stats_disp.sort_values(by='Minutes', ascending=False)
|
643 |
st.data_editor(raw_stats_disp.format(precision=2), use_container_width = True)
|
644 |
st.download_button(
|
645 |
label="Export Customizable Model",
|
|
|
638 |
team_var6 = st.multiselect('Which teams would you like to include in the tables?', options = player_stats['Team'].unique(), key='team_var6')
|
639 |
elif split_var6 == 'All':
|
640 |
team_var6 = player_stats.Team.values.tolist()
|
641 |
+
raw_stats_disp = raw_baselines[raw_baselines['Team'].isin(team_var6)]
|
|
|
642 |
st.data_editor(raw_stats_disp.format(precision=2), use_container_width = True)
|
643 |
st.download_button(
|
644 |
label="Export Customizable Model",
|