Closed longxiaofei closed 1 month ago
In streamlit, pygwalker support render pygwalker html by streamlit custom component.
And supports return spec when spec changes.
example:
from pygwalker.api.streamlit import StreamlitRenderer import pandas as pd import streamlit as st @st.cache_resource def get_pyg_renderer() -> "StreamlitRenderer": df = pd.read_csv("xxx") return StreamlitRenderer(df) renderer = get_pyg_renderer() event = renderer.explorer() print(event)
In streamlit, pygwalker support render pygwalker html by streamlit custom component.
And supports return spec when spec changes.
example: