Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add excel download button #197

Merged
merged 8 commits into from
Dec 14, 2023
Merged

Add excel download button #197

merged 8 commits into from
Dec 14, 2023

Conversation

joAschauer
Copy link
Collaborator

Streamlit download button currently expects its data to be available when declaring the button. This means, we always have to keep the excel file streams for each dataframe in memory and the conversion to excel is made whenever any value changes in a dataframe.

If that is acceptable, this PR is ready.

@joAschauer joAschauer requested a review from markushal December 13, 2023 14:34
@joAschauer joAschauer linked an issue Dec 13, 2023 that may be closed by this pull request
Copy link
Collaborator

@markushal markushal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! preparing the excel files in memory does not seem to increase response time dramatically, so I would say it is acceptable.

app/layout_elements.py Show resolved Hide resolved
@joAschauer joAschauer merged commit 06596f8 into develop Dec 14, 2023
3 checks passed
@joAschauer joAschauer deleted the 167_download_button branch December 14, 2023 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

export dataframe to excel file
2 participants