Multichem commited on
Commit
2ca00f2
·
1 Parent(s): 093c365

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -685,9 +685,8 @@ with tab5:
685
  working_data = game_rot
686
  display = st.container()
687
  stats_disp = st.container()
688
- check_rotation = team_backlog.sort_values(by='Start', ascending=True)
689
  game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
690
- game_rot_stats = game_rot_stats.drop_duplicates(subset='PLAYER_NAME')
691
 
692
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
693
  fig.update_yaxes(autorange="reversed")
 
685
  working_data = game_rot
686
  display = st.container()
687
  stats_disp = st.container()
688
+ check_rotation = team_backlog.sort_values(by='GAME_DATE', ascending=False)
689
  game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
 
690
 
691
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
692
  fig.update_yaxes(autorange="reversed")