library · inferred from evidence
NumPy
A Python library for numerical computing, often used for array and matrix operations.
- Fix Streamlit state wiped or duplicated: session_state vs reruns, cache_data vs cache_resource, widget-key collisions
Diagnoses and fixes the most common Streamlit state bugs: counters and values lost because every interaction reruns the whole script; choosing st.cache_data (serialized copy per call) vs st.cache_resource (one shared singleton); mutating ca