← not_equal operator page · comparison/not_equal/sc_sc/different_numbers
pandas ✅ · DuckDB ✅
SC_1 <> SC_2 with SC_1 = 5 and SC_2 = 9: two different numbers.
Not equal to, semantics for scalar operations: "5 <> 9 gives true".
SC_r = true, a Boolean: 5 and 9 are different numbers.
SC_r := SC_1 <> SC_2;
| SC_1 | SC_2 |
|---|---|
| 5 | 9 |
{
"scalars": [
{"name": "SC_1", "type": "Integer"},
{"name": "SC_2", "type": "Integer"}
]
}
{
"scalars": [
{"name": "SC_r", "type": "Boolean", "value": true}
]
}