Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
a755f01
1
Parent(s):
6b17ab6
Modify game rotation data column assignment order
Browse files
app.py
CHANGED
@@ -693,8 +693,9 @@ with tab5:
|
|
693 |
check_rotation = team_backlog.sort_values(by=['GAME_DATE', 'Finish'], ascending=[False, True])
|
694 |
check_rotation['Start'] = check_rotation['Start'].astype(float)
|
695 |
check_rotation['Finish'] = check_rotation['Finish'].astype(float)
|
|
|
696 |
check_rotation['Task'] = check_rotation['PLAYER_NAME'] + ' ' + check_rotation['delta'].astype(str)
|
697 |
-
|
698 |
st.write(check_rotation)
|
699 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
700 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
|
|
693 |
check_rotation = team_backlog.sort_values(by=['GAME_DATE', 'Finish'], ascending=[False, True])
|
694 |
check_rotation['Start'] = check_rotation['Start'].astype(float)
|
695 |
check_rotation['Finish'] = check_rotation['Finish'].astype(float)
|
696 |
+
check_rotation['Resource'] = check_rotation['Task']
|
697 |
check_rotation['Task'] = check_rotation['PLAYER_NAME'] + ' ' + check_rotation['delta'].astype(str)
|
698 |
+
|
699 |
st.write(check_rotation)
|
700 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
701 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|