Multichem commited on
Commit
5141f45
·
verified ·
1 Parent(s): 238c526

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ with tab1:
95
  team_frame = team_frame.set_index('Names')
96
  st.dataframe(team_frame.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(game_format, precision=2), use_container_width = True)
97
  if line_var1 == 'American':
98
- team_frame = team_frame[['Names', 'Game', 'Moneyline, 'American ML', 'ML_Value', 'Spread', 'American Cover', 'Spread_Value', 'Avg Score', 'Game Total', 'Avg Fifth Inning', 'Fifth Inning Lead Percentage']]
99
  team_frame.rename(columns={"American ML": "Win Percentage", "American Cover": "Cover Spread Percentage"}, inplace = True)
100
  team_frame = team_frame.set_index('Names')
101
  st.dataframe(team_frame.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(american_format, precision=2), use_container_width = True)
 
95
  team_frame = team_frame.set_index('Names')
96
  st.dataframe(team_frame.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(game_format, precision=2), use_container_width = True)
97
  if line_var1 == 'American':
98
+ team_frame = team_frame[['Names', 'Game', 'Moneyline', 'American ML', 'ML_Value', 'Spread', 'American Cover', 'Spread_Value', 'Avg Score', 'Game Total', 'Avg Fifth Inning', 'Fifth Inning Lead Percentage']]
99
  team_frame.rename(columns={"American ML": "Win Percentage", "American Cover": "Cover Spread Percentage"}, inplace = True)
100
  team_frame = team_frame.set_index('Names')
101
  st.dataframe(team_frame.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(american_format, precision=2), use_container_width = True)