-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:st.data_editorRelated to the `st.data_editor` widgetRelated to the `st.data_editor` widgettype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
After upgrading to version 1.30.0, an index column started to appear in st.data_editor, even though I used the parameter hide_index=True to keep it hidden. Attaching code to reproduce. It is working fine on versions v1.29.0 and below.
Reproducible Code Example
import streamlit as st
import pandas as pd
data = pd.read_json('{"Foo":{},"Bar":{},"FooBar":{}}')
st.data_editor(data = data,
hide_index=True,
num_rows='dynamic'
)Steps To Reproduce
No response
Expected Behavior
Current Behavior

Note the first column that appeared and requires user input
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.32.0
- Python version: 3.10.9
- Operating System: Windows and Linux
- Browser: MS Edge
Additional Information
github-actions, jjur, amanchaudhary-95, sfalkena, arunrajnadaraj and 15 more
Metadata
Metadata
Assignees
Labels
feature:st.data_editorRelated to the `st.data_editor` widgetRelated to the `st.data_editor` widgettype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
