Hi all, pretty simple question here. Is it possible to change multiple cells in the data_editor table at once? I would like to select a rectangular area of the table (by clicking and dragging the selection), and then input one value and have it replicate it automatically throughout all the selected cells. When I try to do this, it only updates the originally selected cell before dragging.
Here is a simple example of the data_editor (for example, I would like to select all 4 cells in this table, and change all of them to the value “2” at the same time):
import pandas as pd
import streamlit as st
df = pd.DataFrame()
df.loc['row1', 'col1'] = 1
df.loc['row1', 'col2'] = 1
df.loc['row2', 'col1'] = 1
df.loc['row2', 'col2'] = 1
edited_df = st.data_editor(df)
Thank you