ibis.expr.api.ValueExpr.fillna

ValueExpr.fillna(fill_value)

Replace any null values with the indicated fill value

Parameters:
fill_value : scalar / array value or expression
Returns:
filled : type of caller

Examples

>>> import ibis
>>> table = ibis.table([('col', 'int64'), ('other_col', 'int64')])
>>> result = table.col.fillna(5)
>>> result2 = table.col.fillna(table.other_col * 3)