James McCool commited on
Commit
df108ab
·
1 Parent(s): 53c2eab

Display raw baseline data in Streamlit table

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -35,6 +35,7 @@ def pull_baselines():
35
  collection = db["Prop_Betting_Table"]
36
  cursor = collection.find()
37
  raw_display = pd.DataFrame(cursor)
 
38
  prop_display = raw_display[raw_display['Player'] != ""]
39
  prop_display['Player Blocks'].replace("", np.nan, inplace=True)
40
  prop_display['SOG Edge'].replace("", np.nan, inplace=True)
 
35
  collection = db["Prop_Betting_Table"]
36
  cursor = collection.find()
37
  raw_display = pd.DataFrame(cursor)
38
+ st.table(raw_display)
39
  prop_display = raw_display[raw_display['Player'] != ""]
40
  prop_display['Player Blocks'].replace("", np.nan, inplace=True)
41
  prop_display['SOG Edge'].replace("", np.nan, inplace=True)