I need help to exclude some rows: I would like for example to exclude three patients from my analysis (patients 1, 2, 6) Can you tell me why this code doesn't work and what I should write?
baseline_all_patients=baseline[baseline["studyid"]!=(1, 2, 6)]