takeLast
Returns a DataColumn containing the last n values of this DataColumn.
If n is zero or negative, an empty DataColumn is returned.
For more information: See takeLast on the documentation website.
See also:
drop{ predicate: Predicate<T> }— drops every value that matches the predicate.
Return
A DataColumn containing the last n values of this DataColumn, or an empty DataColumn if n is zero or negative.
Parameters
The number of values to take. Must not exceed the size of this DataColumn.
Throws
if n is greater than the size of this DataColumn.
Returns a DataFrame containing the last n rows.
If n is greater than or equal to the number of rows, the whole DataFrame is returned.
For more information: See takeLast on the documentation website.
See also:
takeWhile— takes the first rows while the predicate holds.filter— keeps every row that matches the predicate.
Return
A DataFrame containing the last n rows, or the whole DataFrame if n is greater than or equal to the number of rows.
Parameters
The number of rows to take. Must not be negative.
Throws
if n is negative.