-
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
Streamlit keeps 4 decimals by default, but in some cases user need 2 decimals.
df = pd.DataFrame(
np.random.randn(50, 20),
columns=('col %d' % i for i in range(20)))
st.dataframe(df) # Same as st.write(df)
Please add an argument that allow user set decimals of st.dataframe.
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.
jackprominski and anamika1302
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
