-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:st.dataframeRelated to the `st.dataframe` elementRelated to the `st.dataframe` elementtype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
Description
Context
Streamlit plans to make improvements to st.dataframe during Q4 2022, according to the roadmap. Therefore decided to list a few ideas below for the Streamlit dev team. Hope this helps!
Improvement ideas
- Boolean arguments to enable/disable current and any upcoming functionalities: editing, search, column resizing, column reordering, column sorting, filtering, downloading CSV, etc. In many situations, too much interactivity can confuse end users.
- Boolean argument to hide index column easily.
column_widthargument to set a fixed column width, for cases in which all columns should have same width. If argument undeclared, column width would depend on header.- Fine control over which cells can be edited and which ones cannot. For example, users might define a condition upon which some specific cells become editable, and others stop being editable.
- Handling/parsing of edited values that do not match column type. For example, if a user edit in a numeric column is non-numeric, edit does not resolve and reverts to previous value (or becomes NaN). Otherwise,
st.dataframecould provide an "output" pandas DataFrame so that users can compare differences with the "input" dataframe used.
Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.
kyletimmermans and cmayoracurzio
Metadata
Metadata
Assignees
Labels
feature:st.dataframeRelated to the `st.dataframe` elementRelated to the `st.dataframe` elementtype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features