Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
dcbdd07
1
Parent(s):
caa3685
Convert game rotation timeline plot data to Pandas Series
Browse files
app.py
CHANGED
@@ -697,10 +697,10 @@ with tab5:
|
|
697 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
698 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
699 |
|
700 |
-
x_start_vals = check_rotation['Start'].tolist()
|
701 |
-
x_end_vals = check_rotation['Finish'].tolist()
|
702 |
-
text_vals = check_rotation['minutes'].tolist()
|
703 |
-
y_vals = check_rotation['Task'].tolist()
|
704 |
|
705 |
fig = px.timeline(x_start=x_start_vals, x_end=x_end_vals, y=y_vals, range_x=[0,check_rotation["Finish"].max()], text=text_vals)
|
706 |
|
|
|
697 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
698 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
699 |
|
700 |
+
x_start_vals = pd.Series(check_rotation['Start'].tolist())
|
701 |
+
x_end_vals = pd.Series(check_rotation['Finish'].tolist())
|
702 |
+
text_vals = pd.Series(check_rotation['minutes'].tolist())
|
703 |
+
y_vals = pd.Series(check_rotation['Task'].tolist())
|
704 |
|
705 |
fig = px.timeline(x_start=x_start_vals, x_end=x_end_vals, y=y_vals, range_x=[0,check_rotation["Finish"].max()], text=text_vals)
|
706 |
|