You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Enhancement] #83 Improvement of Streamlit Interface for School/Center Searching (#88)
* Improvement of Streamlit Interface for School/Center Searching
* Optimize the Code
* Show Only Unique School,center,scode,cscode values in filter dropdown and hide index of the filtered table
* Remove Thousand Separator Comma in filtered List
* Remove Unwanted Commented code
* put code ahead of name in description
---------
Co-authored-by: nirmala.sharma <[email protected]>
Co-authored-by: sumanashrestha <[email protected]>
st.session_state.filter_type=tab1.radio("Choose a filter type:", allowed_filter_types)
146
158
147
159
# Display an input field based on the selected filter type
148
160
ifst.session_state.filter_type:
149
-
st.session_state.filter_value=tab1.selectbox(f"Select a value for {st.session_state.filter_type}:", df_school_center[st.session_state.filter_type].unique())
150
-
# Filter the DataFrame based on the selected filter type and value
0 commit comments