eds_scikit.biology.cleaning.cohort
select_cohort
select_cohort(measurement: DataFrame, studied_pop: Union[DataFrame, List[int]]) -> DataFrame
Select the patient_ids
PARAMETER | DESCRIPTION |
---|---|
measurement |
Target DataFrame
TYPE:
|
studied_pop |
List of patient_ids to select
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
DataFrame
|
Filtered DataFrame with selected patients |
Source code in eds_scikit/biology/cleaning/cohort.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|