Multichem commited on
Commit
f7ef3b3
·
1 Parent(s): e796a9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -669,7 +669,7 @@ with tab5:
669
  stats_disp = st.container()
670
  check_rotation = working_data[working_data['backlog_lookup'] == game_id_var]
671
  check_rotation = check_rotation.sort_values(by='Start', ascending=True)
672
- game_rot_stats = check_rotation[[game_rot_cols]]
673
 
674
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
675
  fig.update_yaxes(autorange="reversed")
@@ -688,7 +688,7 @@ with tab5:
688
  stats_disp = st.container()
689
  check_rotation = working_data[working_data['backlog_lookup'] == game_id_var]
690
  check_rotation = check_rotation.sort_values(by='Start', ascending=True)
691
- game_rot_stats = check_rotation[[game_rot_cols]]
692
 
693
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
694
  fig.update_yaxes(autorange="reversed")
 
669
  stats_disp = st.container()
670
  check_rotation = working_data[working_data['backlog_lookup'] == game_id_var]
671
  check_rotation = check_rotation.sort_values(by='Start', ascending=True)
672
+ game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
673
 
674
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
675
  fig.update_yaxes(autorange="reversed")
 
688
  stats_disp = st.container()
689
  check_rotation = working_data[working_data['backlog_lookup'] == game_id_var]
690
  check_rotation = check_rotation.sort_values(by='Start', ascending=True)
691
+ game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
692
 
693
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
694
  fig.update_yaxes(autorange="reversed")