Hi! I am new to using streamlit and I love it so far.
But I am having issues with the multiselect. This is my code:
defaultcols = [“Hotel_Adress”, “Review_Date”, “Average_Score”, “Hotel_Name”, “Reviewer Nationality”]
cols = st.multiselect(“Columns”, df.columns.tolist(), default= defaultcols)
st.dataframe(df[cols].head(10))
The error I get is:
StreamlitAPIException: Every Multiselect default value must exist in options
I am using the newest version of streamlit-0.60.0 on my mac.
Is there anyone who can help me in the right direction?