lfill#

swordfish.function.lfill()#

If obj is a vector: linearly fill the null values between 2 non-null numeric values in obj.

If obj is a table with only numeric columns: for each column of the table, linearly fill the null values between 2 non-null numeric values.

lfill does not change obj, whereas lfill changes obj.

Parameters:

obj (Constant) – A vector or a table with only numeric columns.