James McCool
commited on
Commit
Β·
dd69dc6
1
Parent(s):
7d39b16
Removing summary stats from bottom of table
Browse files
app.py
CHANGED
|
@@ -1877,16 +1877,6 @@ if selected_tab == 'Projections Management':
|
|
| 1877 |
|
| 1878 |
st.success(f"β
Updated {len(changed_rows)} player(s). Portfolio metrics will recalculate on next view.")
|
| 1879 |
st.rerun()
|
| 1880 |
-
|
| 1881 |
-
# Display summary statistics
|
| 1882 |
-
st.divider()
|
| 1883 |
-
summary_col1, summary_col2, summary_col3 = st.columns(3)
|
| 1884 |
-
with summary_col1:
|
| 1885 |
-
st.metric("Total Players", len(projections_editor_df))
|
| 1886 |
-
with summary_col2:
|
| 1887 |
-
st.metric("Avg Median", f"{projections_editor_df['median'].mean():.2f}")
|
| 1888 |
-
with summary_col3:
|
| 1889 |
-
st.metric("Avg Ownership", f"{projections_editor_df['ownership'].mean():.2f}%")
|
| 1890 |
else:
|
| 1891 |
st.info("π No projections file loaded yet. Please upload projections in the Data Load tab first.")
|
| 1892 |
|
|
|
|
| 1877 |
|
| 1878 |
st.success(f"β
Updated {len(changed_rows)} player(s). Portfolio metrics will recalculate on next view.")
|
| 1879 |
st.rerun()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1880 |
else:
|
| 1881 |
st.info("π No projections file loaded yet. Please upload projections in the Data Load tab first.")
|
| 1882 |
|