Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -645,12 +645,15 @@ with tab6:
|
|
645 |
elif split_var6 == 'All':
|
646 |
team_var6 = player_stats.Team.values.tolist()
|
647 |
raw_stats_disp = raw_baselines[raw_baselines['Team'].isin(team_var6)]
|
|
|
648 |
editable_df = st.data_editor(
|
649 |
raw_stats_disp,
|
650 |
key="data",
|
651 |
hide_index=True,
|
|
|
652 |
)
|
653 |
-
st.
|
|
|
654 |
st.download_button(
|
655 |
label="Export Customizable Model",
|
656 |
data=convert_df_to_csv(player_stats),
|
|
|
645 |
elif split_var6 == 'All':
|
646 |
team_var6 = player_stats.Team.values.tolist()
|
647 |
raw_stats_disp = raw_baselines[raw_baselines['Team'].isin(team_var6)]
|
648 |
+
st.header("Baselines to adjust")
|
649 |
editable_df = st.data_editor(
|
650 |
raw_stats_disp,
|
651 |
key="data",
|
652 |
hide_index=True,
|
653 |
+
use_container_width = True
|
654 |
)
|
655 |
+
st.header("Customized Projections")
|
656 |
+
st.dataframe(add_column(editable_df), use_container_width = True)
|
657 |
st.download_button(
|
658 |
label="Export Customizable Model",
|
659 |
data=convert_df_to_csv(player_stats),
|