(self, other: Any, op: Callable[[Any, Any], bool])
| 215 | index = _special_name_accessor("index") |
| 216 | |
| 217 | def _op(self, other: Any, op: Callable[[Any, Any], bool]) -> bool: |
| 218 | return ( |
| 219 | op(self._to_tuple_instance(), other._to_tuple_instance()) |
| 220 | if isinstance(other, Row) |
| 221 | else op(self._to_tuple_instance(), other) |
| 222 | ) |
| 223 | |
| 224 | __hash__ = BaseRow.__hash__ |
| 225 |