I have a dataset like this
| input-1 | input-2 | output |
|---|---|---|
| 45 | 0 | 1 |
| 50 | 99 | 0 |
| 0 | 45 | 0 |
| 5 | 9 | 1 |
| 0 | 0 | 1 |
now i want to remove all the row which any input column contains 0, if input is not 0 but output is zero its okay i do not delete that row. After deleting my new dataset looks like this:
| input-1 | input-2 | output |
|---|---|---|
| 50 | 99 | 0 |
| 5 | 9 | 1 |
How can i do this in python ??