Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,11 +64,11 @@ with tab1:
|
|
64 |
st.dataframe(prop_frame.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
65 |
|
66 |
st.download_button(
|
67 |
-
label="Export
|
68 |
data=convert_df_to_csv(prop_frame),
|
69 |
file_name='NHL_prop_stat_export.csv',
|
70 |
mime='text/csv',
|
71 |
-
key='
|
72 |
)
|
73 |
|
74 |
with tab2:
|
|
|
64 |
st.dataframe(prop_frame.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(precision=2), use_container_width = True)
|
65 |
|
66 |
st.download_button(
|
67 |
+
label="Export Table",
|
68 |
data=convert_df_to_csv(prop_frame),
|
69 |
file_name='NHL_prop_stat_export.csv',
|
70 |
mime='text/csv',
|
71 |
+
key='prop_export',
|
72 |
)
|
73 |
|
74 |
with tab2:
|