update_row
Modify specific columns in a CSV row with selective updates, tracking changes and returning previous and new values for updated columns.
Instructions
Update specific columns in row with selective updates.
Supports partial column updates with change tracking. Returns old/new values for updated columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_index | Yes | Row index (0-based) to update | |
| data | Yes | Column updates as dict mapping column names to values, or JSON string |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Whether operation completed successfully | |
| operation | No | Operation type identifier | update_row |
| row_index | Yes | Index of updated row | |
| new_values | Yes | New values for updated columns | |
| old_values | Yes | Previous values for updated columns | |
| changes_made | Yes | Number of columns that were changed | |
| columns_updated | Yes | Names of columns that were updated |