bcbi / PreprocessMD.jl

Medically-informed data preprocessing for machine learning
MIT License
6 stars 3 forks source link

Improve example in `add_label_column!` docstring #199

Open AshlinHarris opened 1 year ago

AshlinHarris commented 1 year ago

The feature and source DataFrames should have different row IDs, and the new label column shouldn't resemble a column from the source. Otherwise, it isn't clear that the label column just indicates the presence of elements in the source. The current example might lead a user to think a column is copied into the feature DataFrame from the source.