James McCool commited on
Commit
1053c22
·
1 Parent(s): 3ddfbe1

I don't think this will fix it

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -235,7 +235,7 @@ with tab4:
235
  disp_market = disp_market.groupby(['Name', 'PropType']).fillna(method='ffill').fillna(method='bfill')
236
 
237
  # Keep only one row per Name/prop combination
238
- disp_market = disp_market.drop_duplicates(subset=['Name', 'PropType'], keep='first')
239
 
240
  # Select and order columns
241
  disp_market = disp_market[['Name', 'Team', 'PropType', 'FANDUEL_Proj', 'DRAFTKINGS_Proj', 'MGM_Proj', 'CONSENSUS_Proj']]
 
235
  disp_market = disp_market.groupby(['Name', 'PropType']).fillna(method='ffill').fillna(method='bfill')
236
 
237
  # Keep only one row per Name/prop combination
238
+ disp_market = disp_market.drop_duplicates(subset=['Name', 'PropType'], keep='first', ignore_index=True)
239
 
240
  # Select and order columns
241
  disp_market = disp_market[['Name', 'Team', 'PropType', 'FANDUEL_Proj', 'DRAFTKINGS_Proj', 'MGM_Proj', 'CONSENSUS_Proj']]