Closed dheshanm closed 3 months ago
Removes subjects from holdout_list file, from another CSV file
Expects holdout_list to be a file withe a subject_id in each row / line to be removed:
Sample holdout.txt:
AB12345 CD67890 ...
Expects the CSV file to dual line headers and the subject_id as its second column:
Sample CSV file:
col_1,subject_id,col_3 val_1,AB12345,val_3 val_4,CD67890,val_6 ...
Overwrites the target CSV file with the subjects removed, and backs up the original file with a <filename.ext>.orig extension
<filename.ext>.orig
Thank you. Did you set chmod a+x ?
Removes subjects from holdout_list file, from another CSV file
Expects holdout_list to be a file withe a subject_id in each row / line to be removed:
Sample holdout.txt:
Expects the CSV file to dual line headers and the subject_id as its second column:
Sample CSV file:
Overwrites the target CSV file with the subjects removed, and backs up the original file with a
<filename.ext>.orig
extension