| CHR | SNP | BP | A1 | A2 | OR | P |
|---|---|---|---|---|---|---|
| 8 | rs62513865 | 101592213 | T | C | 1.00652 | 0.8086 |
| 8 | rs79643588 | 106973048 | A | T | 1.01786 | 0.4606 |
I have this table example, and I want to filter rows by comparing column A1 with A2.
If this four conditions happen, delete the line
| A1 | A2 |
|---|---|
| A | T |
| T | A |
| C | G |
| G | C |
(e.g. line 2 in the first table).
How can i do that using python Pandas ?