Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def init_baselines():
|
|
67 |
|
68 |
return dk_roo_raw, fd_roo_raw, dk_ids, fd_ids
|
69 |
|
70 |
-
dk_roo_raw, fd_roo_raw,
|
71 |
|
72 |
@st.cache_data
|
73 |
def convert_df_to_csv(df):
|
@@ -129,7 +129,7 @@ with tab1:
|
|
129 |
with hold_container:
|
130 |
hold_container = st.empty()
|
131 |
display_Proj = display_Proj
|
132 |
-
st.dataframe(display_Proj.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(player_roo_format, precision=2), use_container_width = True)
|
133 |
|
134 |
st.download_button(
|
135 |
label="Export Tables",
|
|
|
67 |
|
68 |
return dk_roo_raw, fd_roo_raw, dk_ids, fd_ids
|
69 |
|
70 |
+
dk_roo_raw, fd_roo_raw, dkid_dict, fdid_dict = init_baselines()
|
71 |
|
72 |
@st.cache_data
|
73 |
def convert_df_to_csv(df):
|
|
|
129 |
with hold_container:
|
130 |
hold_container = st.empty()
|
131 |
display_Proj = display_Proj
|
132 |
+
st.dataframe(display_Proj.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(player_roo_format, precision=2), height=1000, use_container_width = True)
|
133 |
|
134 |
st.download_button(
|
135 |
label="Export Tables",
|