Multichem commited on
Commit
f1a67c9
1 Parent(s): 4208f4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def add_column(df):
61
  return_df['Steals'] = return_df["Minutes"] * return_df["STL"]
62
  return_df['Blocks'] = return_df["Minutes"] * return_df["BLK"]
63
  return_df['Turnovers'] = return_df["Minutes"] * return_df["TOV"]
64
- return_df['Fantasy'] = (return_df["2P"] * 1) + (return_df["3P"] * .5) + return_df['FT'] + (return_df["Rebounds"] * 1.25) + (return_df["Assists"] * 1.5) + (return_df["Steals"] * 2) + (return_df["Blocks"] * 2) + (return_df["Turnovers"] * -.5)
65
 
66
  export_df = return_df[['Player', 'Position', 'Team', 'Opp', 'Minutes', '2P', '3P', 'FT', 'Points', 'Rebounds', 'Assists', 'PRA', 'PR', 'PA', 'RA', 'Steals', 'Blocks', 'Turnovers', 'Fantasy']]
67
 
 
61
  return_df['Steals'] = return_df["Minutes"] * return_df["STL"]
62
  return_df['Blocks'] = return_df["Minutes"] * return_df["BLK"]
63
  return_df['Turnovers'] = return_df["Minutes"] * return_df["TOV"]
64
+ return_df['Fantasy'] = (return_df["2P"] * 3) + (return_df["3P"] * 3.5) + return_df['FT'] + (return_df["Rebounds"] * 1.25) + (return_df["Assists"] * 1.5) + (return_df["Steals"] * 2) + (return_df["Blocks"] * 2) + (return_df["Turnovers"] * -.5)
65
 
66
  export_df = return_df[['Player', 'Position', 'Team', 'Opp', 'Minutes', '2P', '3P', 'FT', 'Points', 'Rebounds', 'Assists', 'PRA', 'PR', 'PA', 'RA', 'Steals', 'Blocks', 'Turnovers', 'Fantasy']]
67