Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
2cd7161
1
Parent(s):
f1bab94
Adjust salary calculations in baseline initialization by dividing the 'Salary' column by 1.5, improving data accuracy for player statistics.
Browse files
app.py
CHANGED
|
@@ -113,6 +113,7 @@ def init_baselines():
|
|
| 113 |
sd_roo_data.insert(5, 'Order', sd_hold_frame['Order'])
|
| 114 |
sd_roo_data.insert(6, 'Team_Total', sd_hold_frame['Team_Total'])
|
| 115 |
sd_roo_data.insert(7, 'Opp_Total', sd_hold_frame['Opp_Total'])
|
|
|
|
| 116 |
|
| 117 |
collection = db["Scoring_Percentages"]
|
| 118 |
cursor = collection.find()
|
|
|
|
| 113 |
sd_roo_data.insert(5, 'Order', sd_hold_frame['Order'])
|
| 114 |
sd_roo_data.insert(6, 'Team_Total', sd_hold_frame['Team_Total'])
|
| 115 |
sd_roo_data.insert(7, 'Opp_Total', sd_hold_frame['Opp_Total'])
|
| 116 |
+
sd_roo_data['Salary'] = sd_roo_data['Salary'] / 1.5
|
| 117 |
|
| 118 |
collection = db["Scoring_Percentages"]
|
| 119 |
cursor = collection.find()
|