nesticot commited on
Commit
d982efa
·
1 Parent(s): 5cde114

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -294,6 +294,7 @@ yahoo_to_nhl = pd.read_csv("data/yahoo_to_nhl.csv",index_col=[0], encoding='unic
294
  yahoo_df_scrape = pd.read_csv('df_2023_small.csv',index_col=[0])
295
  yahoo_df_scrape.percent_owned = yahoo_df_scrape.percent_owned.astype(float)
296
  yahoo_df_scrape.columns = ['idx','yahoo_id','full','first','last','average_pick','average_auction_cost','projected_auction_value','position','team','percent_owned','status']
 
297
  yahoo_df_scrape = yahoo_df_scrape[yahoo_df_scrape.status.isin(['True','DTD'])]
298
  #percent_roster_dict = yahoo_df_scrape.
299
  #yahoo_df_scrape = pd.DataFrame(total_list,columns=['yahoo_id','idx','full','first','last','average_pick','average_auction_cost','projected_auction_value','position','team','percent_owned'])
 
294
  yahoo_df_scrape = pd.read_csv('df_2023_small.csv',index_col=[0])
295
  yahoo_df_scrape.percent_owned = yahoo_df_scrape.percent_owned.astype(float)
296
  yahoo_df_scrape.columns = ['idx','yahoo_id','full','first','last','average_pick','average_auction_cost','projected_auction_value','position','team','percent_owned','status']
297
+ yahoo_df_scrape.status = yahoo_df_scrape.status.astype(str)
298
  yahoo_df_scrape = yahoo_df_scrape[yahoo_df_scrape.status.isin(['True','DTD'])]
299
  #percent_roster_dict = yahoo_df_scrape.
300
  #yahoo_df_scrape = pd.DataFrame(total_list,columns=['yahoo_id','idx','full','first','last','average_pick','average_auction_cost','projected_auction_value','position','team','percent_owned'])