James McCool commited on
Commit
9990caa
·
1 Parent(s): 5ae652c

Update ROO percentage formatting to use percentage sign

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ gcservice_account, gcservice_account2, db, NBA_Data = init_conn()
53
  dk_columns = ['PG', 'SG', 'SF', 'PF', 'C', 'G', 'F', 'FLEX', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
54
  fd_columns = ['PG1', 'PG2', 'SG1', 'SG2', 'SF1', 'SF2', 'PF1', 'PF2', 'C1', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
55
 
56
- roo_format = {'Top_finish': '{:.2f}%', 'Top_5_finish': '{:.2f}%', 'Top_10_finish': '{:.2f}%', '20+%': '{:.2f}%', '4x%': '{:.2f}%', '5x%': '{:.2f}%', '6x%': '{:.2f}%', 'GPP%': '{:.2f}%'}
57
 
58
  @st.cache_data(ttl=60)
59
  def load_overall_stats():
 
53
  dk_columns = ['PG', 'SG', 'SF', 'PF', 'C', 'G', 'F', 'FLEX', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
54
  fd_columns = ['PG1', 'PG2', 'SG1', 'SG2', 'SF1', 'SF2', 'PF1', 'PF2', 'C1', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
55
 
56
+ roo_format = {'Top_finish': '{:.2%}', 'Top_5_finish': '{:.2%}', 'Top_10_finish': '{:.2%}', '20+%': '{:.2%}', '4x%': '{:.2%}', '5x%': '{:.2%}', '6x%': '{:.2%}', 'GPP%': '{:.2%}'}
57
 
58
  @st.cache_data(ttl=60)
59
  def load_overall_stats():