Docs for dataframe programmatic selections#14616
Conversation
|
Thanks for contributing to Streamlit! 🎈 Please make sure you have read our Contributing Guide. You can find additional information about Streamlit development in the wiki. The review process:
We're receiving many contributions and have limited review bandwidth — please expect some delay. We appreciate your patience! 🙏 |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Pull request overview
Updates Streamlit’s st.dataframe documentation (docstrings in arrow.py) to better describe programmatic selection via Session State and to add a concrete example for setting selections.
Changes:
- Adjusted
DataframeSelectionStatedocstring text around programmatic selection support and expanded to multiple examples. - Added a new example demonstrating programmatic selection updates via
st.session_stateforst.dataframe. - Simplified/clarified the
keyparameter docs for reading/updating selection state via Session State.
Describe your changes
Update docs for programmatic selections for dataframes and include an example.
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.