Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -246,7 +246,7 @@ with tab2:
|
|
| 246 |
elif pos_var1 != 'All':
|
| 247 |
display = display[display['Position'].str.contains(pos_var1)]
|
| 248 |
display = display.drop(columns=['type', 'league', 'Timestamp'])
|
| 249 |
-
display['Cpt_Own'] = ((display['Own']) * ((100 - (100-display['Own'])))) /
|
| 250 |
st.dataframe(display.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), height=750, use_container_width = True)
|
| 251 |
st.download_button(
|
| 252 |
label="Export Range of Outcomes",
|
|
|
|
| 246 |
elif pos_var1 != 'All':
|
| 247 |
display = display[display['Position'].str.contains(pos_var1)]
|
| 248 |
display = display.drop(columns=['type', 'league', 'Timestamp'])
|
| 249 |
+
display['Cpt_Own'] = ((display['Own']) * ((100 - (100-display['Own'])))) / 300
|
| 250 |
st.dataframe(display.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), height=750, use_container_width = True)
|
| 251 |
st.download_button(
|
| 252 |
label="Export Range of Outcomes",
|