Sort a dataset by selected columns and pick the first N rows (or exclude them).
Inputs
An input dataset to filter.
Outputs
A new dataset containing the same columns as the input dataset but only those rows passing the filter condition.
Parameters
How many of the leading rows to keep after sorting.
One or more columns to sort by before picking the first n rows. May be a column name or a list of column names.
Examples
If true, the first n rows after sorting will be excluded from the resulting dataset.
true
Whether to sort in ascending order rather than descending.
Was this page helpful?