Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -670,6 +670,7 @@ with tab5:
|
|
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")
|
@@ -689,6 +690,7 @@ with tab5:
|
|
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")
|
|
|
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 |
+
game_rot_stats = game_rot_stats.drop_duplicates(subset='PLAYER_NAME')
|
674 |
|
675 |
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
676 |
fig.update_yaxes(autorange="reversed")
|
|
|
690 |
check_rotation = working_data[working_data['backlog_lookup'] == game_id_var]
|
691 |
check_rotation = check_rotation.sort_values(by='Start', ascending=True)
|
692 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
693 |
+
game_rot_stats = game_rot_stats.drop_duplicates(subset='PLAYER_NAME')
|
694 |
|
695 |
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
696 |
fig.update_yaxes(autorange="reversed")
|