dataFrame — tail()
Description
The tail() method of the dataFrame object returns the header row and the last count data rows of the dataFrame.
Signature
dataFrame.tail(count)- Scope
dataFrame- Family
core- Returns
rows
Argument
count(number)- The number of data rows to return from the end of the DataFrame.
Returns
rows(array)- The header row and the specified number of data rows.
Example
// log the 10 last rows of a dataFrame
notebook.logTable(dataFrame.tail(10));