hello all,
Not only I am a newbie in python and all but I am more of an historian.
I am working on some combat results and i would like to sort my data with two or more sidebar widgets.
inputselect = {
"theater": st.sidebar.multiselect(
'Select Theater of operation', data['theater'].unique()
),
"Airforce": st.sidebar.multiselect(
'Select Airforce', data['country_flying_mission'].unique()
)
}
st.write(inputselect)
#mainframe
st.write(data)
Now, I understand I need to have inputselect used as a parameter in my st.write(data[“inputselect”]) but i have no idea how to do pass the arguments.
Is there an easier way to filter data via the sidebar?