sfu-db / dataprep

Open-source low code data preparation library in python. Collect, clean and visualization your data in python with a few lines of code.
http://dataprep.ai
MIT License
1.97k stars 201 forks source link

Add the option to pass a target varaible when creating the EDA report #954

Open rluthi opened 1 year ago

rluthi commented 1 year ago

I am often interested in understanding the relationship between one specific column (my target variable) and the others.

It would be nice if we could pass a target variable when creating the EDA report: i.e. eda.create_report(target="has_survived").

Then all variable plots would all be crossed with this target variable. You already have this functionality in the eda.plot(df, target) function from the docs.

This is a functionality that I like to use in the sweetviz library:

sweetviz.analyze(source, target_feat)