import sweetviz as sv
report = sv.analyze(data) report.show_html('directory/filename.html')
report = sv.compare([data1, 'data1'], [data2, 'data2'], 'target value') report.show_html('directory/filename.html')