EDA Flashcards
YData Profiling
!pip install ydata-profiling
from ydata_profiling import ProfileReport
#Generate the data profile report
profile = ProfileReport(train,title=’EDA’)
#show the report on the notebook
profile.to_notebook_iframe()
AutoViz
Instantiate AutoViz_Class
!pip install autoviz
from autoviz.AutoViz_Class import AutoViz_Class
AV = AutoViz_Class()
df = AV.AutoViz(filename=’’,
dfte=train,
verbose=1)
Sweetviz
Generate a comparison report
!pip install sweetviz
import sweetviz as sv
compare = sv.compare(source=[train,’Training’],
compare=[test,’Test’],
target_feat=”SalePrice”)
compare.show_notebook(w=None,
h=None,
scale=None,
layout=’widescreen’,
filepath=None)