nesticot commited on
Commit
8d04544
·
1 Parent(s): fe94bcf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -261,6 +261,8 @@ def get_all_players_teams():
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()
266
 
 
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
+
265
+ df_2023.percent_owned = df_2023.percent_owned.astype(float)
266
  print('Jack Hughes',df_2023[df_2023.full == 'Jack Hughes'])
267
  week_dict = yahoo_weeks.set_index('Number')['Week'].sort_index().to_dict()
268