-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I get data in vis_spec and save it to a variable (pygwalker.api.streamlit )? #580
Comments
Hi @andrec84j ,This feature is not currently supported. I'm interested to know what things you would be able to accomplish with this feature. Could you please share some details? |
Hi, @andrec84j pygwalker already support this feature in 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) |
hi,@longxiaofei
|
Hi @zd1990 Do you want to get the filtered data by operating in the data tab? This feature is not currently supported, but I am developing it . |
@longxiaofei |
Hello @longxiaofei I created an area to save the viz_spec with the possibility of sharing but it would be interesting for the user to be able to save and share without worrying about copying and pasting the PyGWalker Code |
Streamlit
from pygwalker.api.streamlit import StreamlitRenderer
Is it possible to take the data from vis_spec after finishing the construction of a graph and save the data in a variable?
The text was updated successfully, but these errors were encountered: