drop_empty_cols: Drop empty columns
Description
Removes columns from a data.table where all the values are missing.
Usage
drop_empty_cols(DT, copy = FALSE)
Arguments
copy
Copies the data.table so the original can be retained.
Not applicable if DT is not a data.table.
If FALSE, the default, DT itself will be modified.