Spaces:
Running
Running
James McCool
commited on
Commit
·
76f06f3
1
Parent(s):
39e0137
dropped PropType from drop_dupes
Browse files
app.py
CHANGED
@@ -209,7 +209,7 @@ with tab2:
|
|
209 |
disp_market['BET365'] = disp_market['Name'].map(bet365_dict)
|
210 |
|
211 |
disp_market = disp_market[['Name', 'Position','FANDUEL', 'DRAFTKINGS', 'MGM', 'BET365']]
|
212 |
-
disp_market = disp_market.drop_duplicates(subset=['Name'
|
213 |
|
214 |
st.dataframe(disp_market.style.background_gradient(axis=1).background_gradient(cmap='RdYlGn').format(prop_format, precision=2), height = 1000, use_container_width = True)
|
215 |
st.download_button(
|
|
|
209 |
disp_market['BET365'] = disp_market['Name'].map(bet365_dict)
|
210 |
|
211 |
disp_market = disp_market[['Name', 'Position','FANDUEL', 'DRAFTKINGS', 'MGM', 'BET365']]
|
212 |
+
disp_market = disp_market.drop_duplicates(subset=['Name'], keep='first', ignore_index=True)
|
213 |
|
214 |
st.dataframe(disp_market.style.background_gradient(axis=1).background_gradient(cmap='RdYlGn').format(prop_format, precision=2), height = 1000, use_container_width = True)
|
215 |
st.download_button(
|