Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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='
|
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")
|