Spaces:
Sleeping
Sleeping
make table pretty v5
Browse files
app.py
CHANGED
@@ -441,10 +441,10 @@ if st.button('🤖 Run it'):
|
|
441 |
|
442 |
results = pd.DataFrame(index=[
|
443 |
'ModelScore',
|
444 |
-
'HistoricalRate'
|
445 |
-
f'Num {operator} {"" if do_not_play else score_fmt}'
|
446 |
], data = [
|
447 |
-
f'{text_cond} {score:.1%}'
|
448 |
f'{text_cond} {historical_proba:.1%}',
|
449 |
num_obs
|
450 |
])
|
|
|
441 |
|
442 |
results = pd.DataFrame(index=[
|
443 |
'ModelScore',
|
444 |
+
'HistoricalRate',
|
445 |
+
f'Num {operator} {"" if do_not_play else score_fmt}'
|
446 |
], data = [
|
447 |
+
f'{text_cond} {score:.1%}',
|
448 |
f'{text_cond} {historical_proba:.1%}',
|
449 |
num_obs
|
450 |
])
|