# datatable.rowfirst()¶

rowfirst
(

For each row, find the first non-missing value in cols. If all values in a row are missing, then this function will also produce a missing value.

## Parameters¶

cols
Expr

Input columns.

return
Expr

f-expression consisting of one column and the same number of rows as in cols.

except
TypeError

The exception is raised when input columns have incompatible types.