Skip to main content

when_then_otherwise_null

Function when_then_otherwise_null 

Source
pub fn when_then_otherwise_null(condition: &Column, value: &Column) -> Column
Expand description

Two-arg when(condition, value): returns value where condition is true, null otherwise (PySpark when(cond, val)).