Multichem commited on
Commit
b88173d
·
verified ·
1 Parent(s): 78b3cde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def init_baselines():
59
  hitter_gamelog_table = hitter_gamelog_table.set_axis(['Player', 'Team', 'Date', 'G', 'AB', 'PA', 'H', '1B', '2B', '3B', 'HR', 'R', 'RBI', 'BB', 'IBB', 'SO', 'HBP', 'SF', 'SH',
60
  'GDP', 'SB', 'CS', 'AVG', 'SLG', 'wRC+', 'LD%', 'GB%', 'FB%', 'Hard%', 'Barrels', 'Barrel%'], axis=1)
61
 
62
- collection = db["rotations"]
63
  cursor = collection.find() # Finds all documents in the collection
64
 
65
  raw_display = pd.DataFrame(list(cursor))
 
59
  hitter_gamelog_table = hitter_gamelog_table.set_axis(['Player', 'Team', 'Date', 'G', 'AB', 'PA', 'H', '1B', '2B', '3B', 'HR', 'R', 'RBI', 'BB', 'IBB', 'SO', 'HBP', 'SF', 'SH',
60
  'GDP', 'SB', 'CS', 'AVG', 'SLG', 'wRC+', 'LD%', 'GB%', 'FB%', 'Hard%', 'Barrels', 'Barrel%'], axis=1)
61
 
62
+ collection = db["MLB_Pitchers_DB"]
63
  cursor = collection.find() # Finds all documents in the collection
64
 
65
  raw_display = pd.DataFrame(list(cursor))