summary
Having streamlit app that display expanders that includes data from a dataframe.
Need to change the background color of the expanders based on the value existing in column occupation
Expected behavior:
All the expanders that have as occupation
teacher get the background color green
Engineer get the background color red
And so on…
Actual behavior:
All the displayed expanders are matching while what i want is to differ between them based on the occupation.
Debug info
- Streamlit version: 1.18
- Python version: 3.10