Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -171,7 +171,8 @@ with tab3:
|
|
| 171 |
|
| 172 |
final_Proj = pd.merge(hold_file, final_outcomes, on="Player")
|
| 173 |
final_Proj = final_Proj[['Player', '10%', 'Median', '90%', 'Top_finish', 'Top_5_finish', 'Top_10_finish']]
|
| 174 |
-
|
|
|
|
| 175 |
st.dataframe(final_Proj.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
| 176 |
|
| 177 |
with tab4:
|
|
@@ -191,7 +192,7 @@ with tab4:
|
|
| 191 |
|
| 192 |
with df_hold_container.container():
|
| 193 |
|
| 194 |
-
df =
|
| 195 |
|
| 196 |
total_sims = 5000
|
| 197 |
|
|
@@ -247,4 +248,6 @@ with tab4:
|
|
| 247 |
final_Proj = pd.merge(hold_file, final_outcomes, on="Player")
|
| 248 |
final_Proj = final_Proj[['Player', '10%', 'Median', '90%', 'Top_finish', 'Top_5_finish', 'Top_10_finish']]
|
| 249 |
|
| 250 |
-
|
|
|
|
|
|
|
|
|
| 171 |
|
| 172 |
final_Proj = pd.merge(hold_file, final_outcomes, on="Player")
|
| 173 |
final_Proj = final_Proj[['Player', '10%', 'Median', '90%', 'Top_finish', 'Top_5_finish', 'Top_10_finish']]
|
| 174 |
+
with df_hold_container.container():
|
| 175 |
+
df_hold_container = st.empty()
|
| 176 |
st.dataframe(final_Proj.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
| 177 |
|
| 178 |
with tab4:
|
|
|
|
| 192 |
|
| 193 |
with df_hold_container.container():
|
| 194 |
|
| 195 |
+
df = hitter_proj
|
| 196 |
|
| 197 |
total_sims = 5000
|
| 198 |
|
|
|
|
| 248 |
final_Proj = pd.merge(hold_file, final_outcomes, on="Player")
|
| 249 |
final_Proj = final_Proj[['Player', '10%', 'Median', '90%', 'Top_finish', 'Top_5_finish', 'Top_10_finish']]
|
| 250 |
|
| 251 |
+
with df_hold_container.container():
|
| 252 |
+
df_hold_container = st.empty()
|
| 253 |
+
st.dataframe(final_Proj.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|