| PATIENT_ID | PATHOLOGIES |
|---|---|
| 12 | null |
| 12 | null |
| 3 | patho1 |
| 3 | null |
| 5 | patho2 |
| 2 | patho1 |
| 12 | null |
If you can see, patient ID 12 is always null but others can be null or has pathologies if the same ID is always null, I want to delete it with the related rows in all columns note: I have 2 million ID, so I want a code to search for the ID's (Python, CSV)