nesticot commited on
Commit
223cdaf
·
1 Parent(s): da0d2c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -259,7 +259,7 @@ def get_all_players_teams():
259
  #df_2023 = pd.DataFrame(data=total_list,columns=['player_id','rank_value','full','first','last','average_pick', 'average_cost','display_position','projected_auction_value','editorial_team_abbr','percent_owned'])
260
 
261
 
262
- df_2023 = pd.read_csv('df_2023_small.csv',index_col=[0],,usecols=[0:11]))
263
  df_2023.columns = ['player_id','rank_value','full','first','last','average_pick', 'average_cost','display_position','projected_auction_value','editorial_team_abbr','percent_owned']
264
  print('Jack Hughes',df_2023[df_2023.full == 'Jack Hughes'])
265
  week_dict = yahoo_weeks.set_index('Number')['Week'].sort_index().to_dict()
 
259
  #df_2023 = pd.DataFrame(data=total_list,columns=['player_id','rank_value','full','first','last','average_pick', 'average_cost','display_position','projected_auction_value','editorial_team_abbr','percent_owned'])
260
 
261
 
262
+ df_2023 = pd.read_csv('df_2023_small.csv',index_col=[0],usecols=range(12))
263
  df_2023.columns = ['player_id','rank_value','full','first','last','average_pick', 'average_cost','display_position','projected_auction_value','editorial_team_abbr','percent_owned']
264
  print('Jack Hughes',df_2023[df_2023.full == 'Jack Hughes'])
265
  week_dict = yahoo_weeks.set_index('Number')['Week'].sort_index().to_dict()