Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2019 03:20 AM
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)