James McCool commited on
Commit
29020f7
·
1 Parent(s): e353ca4

Remove unused timestamp variable and related display logic in app.py to streamline data processing and improve code clarity.

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -62,8 +62,6 @@ def init_baselines():
62
  collection = db["Player_Range_Of_Outcomes"]
63
  cursor = collection.find()
64
  player_frame = pd.DataFrame(cursor)
65
-
66
- timestamp = player_frame['Timestamp'][0]
67
 
68
  roo_data = player_frame.drop(columns=['_id', 'index', 'timestamp'])
69
  roo_data['Salary'] = roo_data['Salary'].astype(int)
@@ -137,7 +135,6 @@ with tab3:
137
  hold_display = roo_data
138
  dk_lineups = init_DK_lineups()
139
  fd_lineups = init_FD_lineups()
140
- t_stamp = f"Last Update: " + str(timestamp) + f" CST"
141
  for key in st.session_state.keys():
142
  del st.session_state[key]
143
 
 
62
  collection = db["Player_Range_Of_Outcomes"]
63
  cursor = collection.find()
64
  player_frame = pd.DataFrame(cursor)
 
 
65
 
66
  roo_data = player_frame.drop(columns=['_id', 'index', 'timestamp'])
67
  roo_data['Salary'] = roo_data['Salary'].astype(int)
 
135
  hold_display = roo_data
136
  dk_lineups = init_DK_lineups()
137
  fd_lineups = init_FD_lineups()
 
138
  for key in st.session_state.keys():
139
  del st.session_state[key]
140