This tutorial explains how to use SweetViz to create feature profiles of a pandas dataframe and both view the profile in the notebook and save to an HTML file.
This tutorial uses:
Open up your jupyter notebook and insert the following into the first cell:
The data is from rdatasets imported using the Python package statsmodels.
Convert some of the fields into more meaningful fields to better understand the time flights depart and arrive. Next the original fields are dropped as they are now redundant.
The parameter pairwise_analysis defaults to auto, so the pairwise analysis is only run if the number of features is below a threshold. As this data contains more features than that threshold, pairwise_analysis is set to on to cause it to be run.
By default, show_html will open the HTML document in the browser. Setting open_browser to false prevents the page from being opened.