boxuancui / DataExplorer

Automate Data Exploration and Treatment
http://boxuancui.github.io/DataExplorer/
Other
512 stars 88 forks source link

Error: missing value where TRUE/FALSE needed #136

Closed ericbrownaustin closed 4 years ago

ericbrownaustin commented 4 years ago

I am running into issues with both the qq_plot label: plot_normal_qq Quitting from lines 159-166 (report.rmd) and the scatter_plot Quitting from lines 249-256 (report.rmd) Error: missing value where TRUE/FALSE needed

I'm not sure which columns are causing problems based on the errors.

boxuancui commented 4 years ago

Have you checked with profile_missing or plot_missing first? Maybe some features have everything missing. Without reproducible data, I don't know what would have caused the error.

ericbrownaustin commented 4 years ago

It looks like the issue was a constant variable I had in the data (used to differentiate between train and test data). Once I removed the column it worked. Adding a function to remove any constant variables prior to plotting or a new error would be a nice addition.

p.s. I love this package!