Write arguments and argument names to your app for debugging purposes.
Show() has similar properties to write():
- You can pass in multiple arguments, all of which will be debugged.
- It returns None, so it's "slot" in the app cannot be reused.
Note: This is an experimental feature. See https://docs.streamlit.io/library/advanced-features/prerelease#experimental for more information.
Function signature | |
---|---|
st.experimental_show(*args) | |
Parameters | |
*args (any) | One or many objects to debug in the App. |
Example
dataframe = pd.DataFrame({ 'first column': [1, 2, 3, 4], 'second column': [10, 20, 30, 40], })) st.experimental_show(dataframe)
Notes
This is an experimental feature with usage limitations:
- The method must be called with the name show.
- Must be called in one line of code, and only once per line.
- When passing multiple arguments the inclusion of , or ) in a string
- argument may cause an error.