python
st.help(st.write)
st.help(pd.DataFrame)
st.experimental_show
Write arguments and argument names to your app for debugging purposes.
python
df = pd.DataFrame({
  'first column': [1, 2, 3, 4],
  'second column': [10, 20, 30, 40],
 })
st.experimental_show(df)
Get query paramters
Return the query parameters that are currently showing in the browser's URL bar.
python
st.experimental_get_query_params()
Set query paramters
Set the query parameters that are shown in the browser's URL bar.
python
st.experimental_set_query_params(
  show_map=True,
  selected=["asia"]
)
Mutate charts
Add rows
Append a dataframe to the bottom of the current one in certain elements, for optimized data updates.
python
element = st.line_chart(df)
element.add_rows(df_with_extra_rows)
State management
Session state
Session state is a way to share variables between reruns, for each user session.
