I have a dataset. I want to select all rows where the value of the 'pass' is not all zero for a student_id
student_id Subject pass
234554 Maths 1
346535 Science 0
862789 History 0
234554 English1 1
346535 History 0
862789 Sciencre 1
As for student_id 346535, there is not a single pass value as 1, therefore, we ignored it
Expected Output:
student_id Subject pass
234554 Maths 1
862789 History 0
234554 English1 1
862789 Sciencre 1