Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
13.33k stars 698 forks source link

[BUG] pygwalker bug report #319

Closed crisfabbri closed 11 months ago

crisfabbri commented 12 months ago

Error saving tables on Streamlit

To Reproduce Create a table chart, than try to save the chart. An error is returned: Error +1 validation error for ChartData singleChart Field required [type=missing, input_value={'mode': 'data-url', 'tit...nRows': 0, 'charts': []},input_type=dict] For further information visit https://errors.pydantic.dev/2.1/v/missing

Versions

Additional context Same issue with version:

longxiaofei commented 12 months ago

@crisfabbri Thanks for feedback. Can you give me your example code to invoke pygwalker? I will try to reproduce it.

Ignore me, I already reproduced it.

longxiaofei commented 12 months ago

@crisfabbri Hi, I fixed this bug, you can use pip install pygwalker==0.3.15.

Table chart is different from other charts, It is not a vega chart, so there may be some strange problems when using table chart. I will feedback these issues to the developers of graphic-walker.

Thanks again for your feedback.