withZero

fun <T, C> Update<T, C>.withZero(): DataFrame<T>

With Zero

Specific version of with that simply sets the value of each selected row to 0.

For example:

df.update{ id }.where{ it < 0 }.withZero()

For more information: See update on the documentation website.