What's Changed
- fix: rendering in streamlit by @longxiaofei in #606
- feat: support table component in streamlit by @longxiaofei in #607
- feat: adjust ui style by @longxiaofei in #608
- feat: adjust ui style by @longxiaofei in #609
- fix: remove duplicate dsl parser by @islxyqwe in #612
- chore: bump to v0.4.9.8 by @longxiaofei in #613
- feat: compress all data in html by @islxyqwe in #620
Table component in Streamlit
In streamlit, pygwalker support render pygwalker html by streamlit custom component.
Now there is table component when using Streamlit.
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()
renderer.table()
Full Changelog: 0.4.9.4...0.4.9.9