fbdesignpro / sweetviz

Visualize and compare datasets, target values and associations, with one line of code.
MIT License
2.9k stars 273 forks source link

report.show_notebook() not showing in any output in Databricks notebook #137

Open codesanity123 opened 1 year ago

codesanity123 commented 1 year ago

This is the code I am trying to generate a report on iris dataset in Databricks notebook.

` url = "https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data" iris = pd.read_csv(url, header=None)

iris.columns = ['sepal_length', 'sepal_width', 'petal_length', 'petal_width', 'class']

my_report = sv.analyze(iris) my_report.show_notebook()`

This is resulting in no output. See screenshot.

image

The same code works in Google colab. Can anyone help?

danilonakagomi commented 1 year ago

having same issue here. did you manage to solve it?

codesanity123 commented 1 year ago

@danilonakagomi I did a workaround. Wrapped this command inside the displayHTML() function of databricks and it did work at first. But somehow, it is showing the same thing again! You can try to see if it works for you.

fbdesignpro commented 1 year ago

@codesanity123 I am currently on break but will be investigating this upon my return and hopefully we can fix this.