datatable.first()

Return the first row for each column from cols.

Parameters

cols
Expr

Input columns.

return
Expr

f-expression having one row, and the same names, stypes and number of columns as in cols.

See Also

  • last() – function that returns the last row.