nesticot commited on
Commit
0cdc2da
·
1 Parent(s): 0d19e58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -175,8 +175,8 @@ team_dict = team_abv.set_index('team_abv').to_dict()['team_name']
175
  yahoo_nhl_df = pd.read_csv('yahoo_to_nhl.csv', encoding='unicode_escape')
176
 
177
 
178
- player_games_df_old = pd.read_csv('player_games_cards.csv',index_col=[0])
179
- team_games_df = pd.read_csv('team_games.csv',index_col=[0])
180
 
181
  player_games_df_2 = player_games_df_old.copy()
182
 
 
175
  yahoo_nhl_df = pd.read_csv('yahoo_to_nhl.csv', encoding='unicode_escape')
176
 
177
 
178
+ player_games_df_old = pd.read_csv('player_games_cards.csv',index_col=[0]).sort_values(by='date',ascending=False)
179
+ team_games_df = pd.read_csv('team_games.csv',index_col=[0]).sort_values(by='date',ascending=False)
180
 
181
  player_games_df_2 = player_games_df_old.copy()
182