Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -288,13 +288,13 @@ team_games.team_abv = team_games.team.map(team_abv.set_index('team_name').team_a
|
|
288 |
team_games.team_abb = team_games.team_abv.replace({'LAK':'L.A','SJS':'S.J','NJD':'N.J','TBL':'T.B'})
|
289 |
yahoo_to_nhl = pd.read_csv("data/yahoo_to_nhl.csv",index_col=[0], encoding='unicode_escape')
|
290 |
|
291 |
-
yahoo_df_scrape = pd.read_csv('df_2023_small.csv',index_col=[0])
|
292 |
|
293 |
|
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'])
|
300 |
|
|
|
288 |
team_games.team_abb = team_games.team_abv.replace({'LAK':'L.A','SJS':'S.J','NJD':'N.J','TBL':'T.B'})
|
289 |
yahoo_to_nhl = pd.read_csv("data/yahoo_to_nhl.csv",index_col=[0], encoding='unicode_escape')
|
290 |
|
291 |
+
#yahoo_df_scrape = pd.read_csv('df_2023_small.csv',index_col=[0])
|
292 |
|
293 |
|
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'])
|
300 |
|