← division operator page · numeric/division/sc_sc/zero_divisor
pandas ✅ · DuckDB ✅
a scalar division by 0: SC_1 / SC_2 with SC_1 = 3 and SC_2 = 0.
Division: "If op2 is 0 then the operation generates a run-time error."
an error and no value: "If op2 is 0 then the operation generates a run-time error". The error is 2-1-15-6, "At op {op}: Scalar division by Zero."
SC_r := SC_1 / SC_2;
| SC_1 | SC_2 |
|---|---|
| 3 | 0 |
{
"scalars": [
{"name": "SC_1", "type": "Integer"},
{"name": "SC_2", "type": "Integer"}
]
}
{
"code": "2-1-15-6"
}