James McCool
commited on
Commit
·
7bd9b86
1
Parent(s):
1c69b06
fixing print
Browse files
app.py
CHANGED
|
@@ -124,9 +124,9 @@ def grab_nfl_reg_salaries():
|
|
| 124 |
collection = salaries_db["NFL_reg_player_info"]
|
| 125 |
today_int = int(datetime.now().strftime("%Y%m%d"))
|
| 126 |
records = pd.DataFrame(list(collection.find({'date': {'$gte': today_int}})))
|
| 127 |
-
records = records[['Display Name', 'draftableId', 'Position', 'Salary']]
|
| 128 |
-
records = records.rename(columns={'Display Name': 'Name', 'draftableId': 'ID', 'Position': 'Roster Position'})
|
| 129 |
-
return
|
| 130 |
|
| 131 |
def define_dk_nfl_showdown_slates():
|
| 132 |
collection = nfl_db["DK_SD_NFL_ROO"]
|
|
|
|
| 124 |
collection = salaries_db["NFL_reg_player_info"]
|
| 125 |
today_int = int(datetime.now().strftime("%Y%m%d"))
|
| 126 |
records = pd.DataFrame(list(collection.find({'date': {'$gte': today_int}})))
|
| 127 |
+
# records = records[['Display Name', 'draftableId', 'Position', 'Salary']]
|
| 128 |
+
# records = records.rename(columns={'Display Name': 'Name', 'draftableId': 'ID', 'Position': 'Roster Position'})
|
| 129 |
+
return records
|
| 130 |
|
| 131 |
def define_dk_nfl_showdown_slates():
|
| 132 |
collection = nfl_db["DK_SD_NFL_ROO"]
|