James McCool
commited on
Commit
·
df35b48
1
Parent(s):
a147b3a
moar pings
Browse files
app.py
CHANGED
|
@@ -1605,9 +1605,7 @@ if selected_tab == 'Data Load':
|
|
| 1605 |
del st.session_state['projections_df']
|
| 1606 |
|
| 1607 |
with template_col:
|
| 1608 |
-
# Create empty DataFrame with required columns
|
| 1609 |
template_df = pd.DataFrame(columns=['player_names', 'position', 'team', 'salary', 'median', 'ownership', 'captain ownership'])
|
| 1610 |
-
# Add download button for template
|
| 1611 |
st.download_button(
|
| 1612 |
label="Template",
|
| 1613 |
data=template_df.to_csv(index=False),
|
|
|
|
| 1605 |
del st.session_state['projections_df']
|
| 1606 |
|
| 1607 |
with template_col:
|
|
|
|
| 1608 |
template_df = pd.DataFrame(columns=['player_names', 'position', 'team', 'salary', 'median', 'ownership', 'captain ownership'])
|
|
|
|
| 1609 |
st.download_button(
|
| 1610 |
label="Template",
|
| 1611 |
data=template_df.to_csv(index=False),
|