Python How To Return Rows For A Specific Condition That Involves Two

Python How To Return Rows For A Specific Condition That Involves Two