Skip to content

Commit 392743e

Browse files
authored
Update version (#198)
* Update docstring * Update version
1 parent d298a3e commit 392743e

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PreprocessMD"
22
uuid = "f785c8c6-3d80-4813-989a-2eb5f27d6bef"
33
authors = ["Ashlin Harris <ashlin_harris@brown.edu>"]
4-
version = "3.1.0"
4+
version = "3.1.1"
55

66
[deps]
77
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"

src/PreprocessMD.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ const OPTIONAL_INT_TYPES = Union{Int,Nothing}
3535
"""
3636
function add_label_column!(feature_df, source_df, new_column[, id])
3737
38-
Add column to a DataFrame based on symbol presence in the target DataFrame
38+
Add a label column to a DataFrame based on symbol presence in the target DataFrame
39+
40+
A column from the target is not copied.
41+
Instead, the new column is a `CategoricalArray` containing `true` for any ID that is present in the target and `false` otherwise.
3942
4043
# Arguments
4144
- `feature_df::AbstractDataFrame`: feature DataFrame to which label column is added

0 commit comments

Comments
 (0)