pygwalker
pygwalker copied to clipboard
HTML not rendered on Databricks runtime 9.1
Hello, thanks for creating and maintaining this package. Sadly when I try to render the HTML I just got <IPython.core.display.HTML object>
as output.
I have tried with:
-
! pip install git+https://github.com/Kanaries/pygwalker@main
-
!pip install 'pygwalker>=0.1.4a0'
-
!pip install pygwalker
All cases showed same result. Any suggestion?
Thanks
Have you tried this? https://github.com/Kanaries/pygwalker/issues/10#issuecomment-1447823367
It seems like a problem caused by the security policies of databricks.
I didn't see that popup. By chance do you have the spark or databrick setting I need to modify? There are some settings that can be changed at notebook level, perhaps that's we need here.
There're several cases that may lead to this result.
https://docs.databricks.com/visualizations/html-d3-and-svg.html
https://stackoverflow.com/questions/67153253/display-ipython-core-display-html-object-in-spark
You can try with a smaller dataframe sample and use displayHTML(pyg.to_html(df, ...))
instead of pyg.walk(df, ...)
.
If the problem persists, it would be helpful to share the notebook or a minimum unit of reproduction.
No feedback for too long, so temporarily closing this issue. If there are any problems, it can be reopened.