Hey, I’m pretty knew to using streamlit and i’m trying to generate a loop of columns with multiselect tool, but they end going to a lower line, as shown:
Try moving cols = st.columns(len(labels)) outside of the loop. With it in the loop, each time it’s creating a new row of 5 columns. Outside, it will only define one row of 5 columns.