Spaces:
Running
Running
James McCool
commited on
Commit
·
8ecd6e0
1
Parent(s):
2f5846d
Optimize dataframe display condition in MLB ROO simulation
Browse files
app.py
CHANGED
@@ -108,5 +108,5 @@ with tab2:
|
|
108 |
elif site_var_sb == "Fanduel":
|
109 |
disp_file = FD_MLB_ROO_Build(projections, floor_var_sb, ceiling_var_sb, std_var_sb, distribution_type_sb)
|
110 |
|
111 |
-
if disp_file
|
112 |
st.dataframe(disp_file.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), height=1000, use_container_width = True)
|
|
|
108 |
elif site_var_sb == "Fanduel":
|
109 |
disp_file = FD_MLB_ROO_Build(projections, floor_var_sb, ceiling_var_sb, std_var_sb, distribution_type_sb)
|
110 |
|
111 |
+
if disp_file:
|
112 |
st.dataframe(disp_file.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), height=1000, use_container_width = True)
|