How to add dynamic tags to a column in Streamlit data_editor?

I have a Streamlit data_editor edited_df created as below. I would like to a add a dynamic tags column (st_keywords) to the data_editor for users to add/remove tags. Is this possible?

import streamlit as st
import pandas as pd
from streamlit_tags import st_tags

df = pd.DataFrame(
       {"command": "st.selectbox", "rating": 4, "is_widget": True},
       {"command": "st.balloons", "rating": 5, "is_widget": False},
       {"command": "st.time_input", "rating": 3, "is_widget": True},
edited_df = st.data_editor(df)

#How do I add this as a new column to edited_df?
st_keywords = st_tags(
    label='# Enter Keywords:',
    text='Press enter to add more',
    value=['Zero', 'One', 'Two'],
    suggestions=['five', 'six', 'seven', 
                 'eight', 'nine', 'three', 
                 'eleven', 'ten', 'four'],
    maxtags = 4,

Hi @dash2111

I am afraid that the streamlit tags is not compatible with st.data_editor. In spite of that, there is the column_config parameter that allows you to add interactivity to data columns such as adding progress bars, selectbox, images, etc.

More info in the announcement post:

And the Docs page:

@dataprofessor Thanks. Apart from st_tags, are there any other components to achieve a similar functionality of adding dynamic tags in a data_editor?

Perhaps you can try to use st_tag or st.multiselect to provide this functionality and if required, concatenate values from selections of these widgets into the dataframe.