wnstnb commited on
Commit
513dde8
·
1 Parent(s): 94ef481

make table pretty v5

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
  ])