Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ with tab2:
|
|
190 |
working_roo = working_roo.loc[working_roo['Median'] > 0]
|
191 |
if site_var2 == 'Draftkings':
|
192 |
working_roo.rename(columns={"name": "Player", "rush_yards": "Rush Yards", "rec": "Receptions", "Median": "Fantasy"}, inplace = True)
|
193 |
-
elif site_var2 == '
|
194 |
working_roo.rename(columns={"name": "Player", "rush_yards": "Rush Yards", "rec": "Receptions", "Median": "Fantasy"}, inplace = True)
|
195 |
working_roo.replace('', 0, inplace=True)
|
196 |
own_dict = dict(zip(working_roo.Player, working_roo.Own))
|
|
|
190 |
working_roo = working_roo.loc[working_roo['Median'] > 0]
|
191 |
if site_var2 == 'Draftkings':
|
192 |
working_roo.rename(columns={"name": "Player", "rush_yards": "Rush Yards", "rec": "Receptions", "Median": "Fantasy"}, inplace = True)
|
193 |
+
elif site_var2 == 'Fanduel':
|
194 |
working_roo.rename(columns={"name": "Player", "rush_yards": "Rush Yards", "rec": "Receptions", "Median": "Fantasy"}, inplace = True)
|
195 |
working_roo.replace('', 0, inplace=True)
|
196 |
own_dict = dict(zip(working_roo.Player, working_roo.Own))
|