get_row_data
Retrieve specific row data from datasets with optional column filtering. Extracts complete row information or selected columns while converting pandas types for JSON serialization.
Instructions
Get data from specific row with optional column filtering.
Returns complete row data or filtered by column list. Converts pandas types for JSON serialization.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_index | Yes | Row index (0-based) to retrieve data from | |
| columns | No | Optional list of column names to retrieve (all columns if None) |
Input Schema (JSON Schema)
{
"properties": {
"columns": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional list of column names to retrieve (all columns if None)"
},
"row_index": {
"description": "Row index (0-based) to retrieve data from",
"type": "integer"
}
},
"required": [
"row_index"
],
"type": "object"
}