top_rows
Retrieves the top N rows from a dataset sorted by a specified column in descending order to quickly identify highest values.
Instructions
Return the top-N rows sorted by column descending.
Args: name: the dataset name. column: the column to sort by. n: how many rows to return (default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| name | Yes | ||
| column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |