anandkn1884
New Contributor II

Hi,

Took me a while to find a simple solution. Found two ways. Hope they work.

1.

- Read the html file content

html_file_content = open("output.html", 'r').read()

- Use displayHTML on the html_file_content

displayHTML(html_file_content)

2. Note: df is the dataframe

profile = pp.ProfileReport(df)

p = profile.to_html()

displayHTML(p)